Updated group creation to avoid passing in user id from the view