Loan repayment now saves to database and penalty rate can be zero