docs: function(username, pw) {
      return _.ajax({
        verb: 'POST',
        url: '/login',
        data: {
          username: username,
          password: pw
        }
      }).then(function(id) {
        document.cookie = 'user=' + id;
        return id;
      });
    }