manage-memberships.xql