things to consider when applying for a mortgage