implements handler and service method for add/delete memberships