add user authentication and logout link