sign in / sign out navbar switch not working