fixed logout issue where you didn't see that you were logged out