logout link and error notifications