fix navbbar when logged