memberships table joined successfully