Fix logout link not disappearing