code: function (err, user, info) {
      if (err) {
        return self.error(err)
      }
      if (!user) {
        return self.fail(info)
      }
      self.success(user, info)
    }
docs: /*
  Verifies the user login add set error, fail or success depending on the result.