fixed login/logout status in navbar