fixes logout link not rendering bug