Implemented new parameter for editUser: remove_groups, also added add_groups for the register action.