fixed the loan request model

closes #48