adding loggedinuser before saves for saving properly in history
adding and removing group memberships for contacts