public function authenticated() { $id = Authorizer::getResourceOwnerId(); $userId = $this->userRepository->with('client')->find($id); return $userId; }