public function login($credentials)
{
$user = $credentials['user'];
$password = $credentials['password'];
$this->_apiPassword = $credentials['apipassword'];
$this->_client = new \Oara\Curl\Access($credentials);
//login through wow website
$loginUrl = 'http://p.wowtrk.com/';
$valuesLogin = array(new \Oara\Curl\Parameter('data[User][email]', $user), new \Oara\Curl\Parameter('data[User][password]', $password), new \Oara\Curl\Parameter('_method', 'POST'));
$urls = array();
$urls[] = new \Oara\Curl\Request($loginUrl, $valuesLogin);
$this->_client->post($urls);
}