Made member invite functionality work with sessions