anchor.diff:  function logout(event) {
      event.preventDefault();
      $.ajax({
  -      url: $(this).attr("href"),
  +      url: $("#logout").attr("href"),
         method: "POST",
  -      timeout: 1000,
         success: function(data, textStatus, jqXHR) {
            window.location = "/";
         },
  
positive.code:                'Sorry, there was a problem with the login request</error>');
           }
           else {
              var responseText = jqXHR.responseText || "[]";
              var json = responseText.evalJSON();
              if (json.error) {
                 $("#loginMessage").html('<span class="errorMessage">' +
                                         json.error + "</error>");
              }
              else {
                 $("#loginMessage").html(responseText);
              }
           }
        }
     });
  
negative.code:       method:   "POST",
        data:      form.serialize(),
        dataType: "JSON",
        success: function(json, textStatus, jqXHR) {
           if (json.success) {
              form[0].reset();
  