wip: added Client loan in group context and fixed issues with loan tab in group context