<html>
  <body>
    <p>You are not authorized to access this page.</p>
    {% if authenticated %}
      <form method="post" action="{{ request.route_url('logout') }}">
        <input type="hidden" name="csrf_token" value="{{ request.session.get_csrf_token() }}">
        <input type="submit" value="Logout">
      </form>
    {% else %}
      <form method="post" action="{{ request.route_url('login') }}">
        <input type="hidden" name="csrf_token" value="{{ request.session.get_csrf_token() }}">
        <input type="submit" value="Login with Upwork">
      </form>
    {% endif %}
  </body>
</html>
