private function saveInDb($data)
 {
     $restApi = new RestManager();
     return $restApi->setEndPoint('http://api.gofiliate.com/affiliates/login')->setMethod('POST')->call($data);
 }
 private function saveInDb($data)
 {
     $restApi = new RestManager();
     $response = $restApi->setEndPoint('http://api.gofiliate.com/affiliates/register')->setMethod('POST')->call($data);
 }