Redirect to login screen after logout detection