public function connect($user, $password)
    {
        $returnValue = (bool) false;

       
        $userService = tao_models_classes_UserService::singleton();
        $returnValue = $userService->loginUser($user, $password);
        $this->setConnected($returnValue);
       

        return (bool) $returnValue;
    }