New Loan and Loan Payment both working

I wrote/debugged these on my online server, so they may need to be
adapted to run on localHost, and some of the variable names in the
queries may not match up.