bank regulations you should know before applying for a mortgage