getMembershipsForUser