things to consider before taking a loan