private function sendRequest($request)
    {
        $response = $this->webclient->send($request);
        if (!$this->isLoggedIn($response)) {
            $this->webLogin();
            $response = $this->webclient->send($request);
        }

        if ($response->getStatusCode() == 500) {
            throw new YouHostingException("Unknown YouHosting Error");
        }

        return $response;
    }