things to consider before applying for a loan