protected function handleResponse($response) {
    $json = json_decode($response->content(), TRUE);
    // print_r($json);

    $this->tokenDetails = $json['access']['token'];
    $this->userDetails = $json['access']['user'];
    $this->serviceCatalog = $json['access']['serviceCatalog'];

    return $this;
  }