add membership_controller to manage the memberships of user into groups