clean up of resources that should not be in repo
fixed usergroupcallback injection ans transaction failures with locking until trasnaction completion