removed InviteCode from GroupMemberships and added Invitations table