creating relationship between users and groups