working on Loan list functionality