[FEATURE] add loggedOut check and class