add user, amounts and groups records, as well as the logic behind borrowed / lent amounts