leave when not logged in test