Fix bug with top bar when logged in