added memberships table and connections