added the contract to the database & additional loan contracts in the db