private function connect()
{
$curl = new Curl();
$curl->setBasicAuthentication($this->adminUsername, $this->adminPassword);
$curl->setUserAgent('');
$curl->setReferrer('');
$curl->setHeader('X-Requested-With', 'XMLHttpRequest');
$this->curl = $curl;
}