What to expect when applying for a mortgage