Adds function to assign/unassign users to/from group.