add user_groups and associations with users and team groups