fix User login bug in safari and enable Navbar uncollapsable