Use 'check' for argument to eventsOnLoggedOut