Kick logged-out users from dashboard in a less hacky way.