public function save($curpas, $newpass)
    {
        $user    = $_SESSION['username'];
        $userpwd = "$user:$curpas";
        list($login) = explode('@', $user);

        $data = array(
            'email'    => $login,
            'password' => $newpass
        );

        $url      = self::url();
        $response = $this->curl_auth_post($userpwd, $url, $data);

        return self::decode_response($response);
    }