add logout link, close #10