fixed logout button showing for not logged in users