add membership_id to initial migration and client session import