public function checkConnection()
{
//If not login properly the construct launch an exception
$connection = true;
$urls = array();
$urls[] = new \Oara\Curl\Request('http://affiliates.mypcbackup.com/', array());
$exportReport = $this->_client->get($urls);
if (!\preg_match("/logout/", $exportReport[0])) {
$connection = false;
}
return $connection;
}