5 things to do before you apply for a mortgage