Fixed navbar login issue