added method to insert new loan