user: new function to add users to group