Handling the logged out users