added loan ids and transaction ids to entry and error models