public function transform($user)
    {
        if (empty($user)) {
            $className = $this->userService->getUserClass();

            return new $className();
        }

        return $user;

    }