fixing visibility for login/logout navigation