invites and logout