public function findByToken($token) { return $this->query()->where('confirmation_code', $token)->first(); }