Setting up the user-groups api endpoint.