The current scenario is, when a user navigates to the login screen, it shows the logout button on the navbar which ideally shouldn't be showing.
Apart from that, I suggest adding a login button(instead of logout) on any page apart from home when the user is not logged in.
