public function findByAuth($provider, $identifier) {
        $user = null;

        $login = $this->repository->findByAuth($provider, $identifier);

        if($login !== null)
            $user = $login->getUser();

        return $user;
    }