added navbar button hiding on login