code: def _handle_login_response(self, out, org_name):
      from .pygraphistry import PyGraphistry
  
      json_response = None
      try:
          json_response = out.json()
          if not ("token" in json_response):
              raise Exception(out.text)
  
          org = json_response.get("active_organization", {})
          logged_in_org_name = org.get("slug", None)
          if org_name:  # caller pass in org_name
              if (
                  not logged_in_org_name
              ):  # no active_organization in JWT payload
                  raise Exception(
                      "You are not authorized to the organization '{}', or server does not support organization, please omit org_name parameter".format(
                          org_name
                      )
                  )
              else:
                  # if JWT response with org_name different than the pass in org_name
                  # => org_name not found and return default organization (currently is personal org)
                  if logged_in_org_name != org_name:
                      raise Exception(
                          "Login Organization is not found in your organization"
                      )
  
              is_found = org.get("is_found", None)
              is_member = org.get("is_member", None)
  
              if not is_found:
                  raise Exception(
                      "Organization {} is not found".format(org_name)
                  )
  
              if not is_member:
                  raise Exception(
                      "You are not authorized or not a member of {}".format(
                          org_name
                      )
                  )
  
          if logged_in_org_name is None and org_name is None:
              if "org_name" in PyGraphistry._config:
                  del PyGraphistry._config["org_name"]
          else:
              if org_name in PyGraphistry._config:
                  logger.debug(
                      "@ArrowUploder, handle login reponse, org_name: %s",
                      PyGraphistry._config["org_name"],
                  )
              PyGraphistry._config["org_name"] = logged_in_org_name
              # PyGraphistry.org_name(logged_in_org_name)
      except Exception:
          logger.error("Error: %s", out, exc_info=True)
          raise
  
      self.token = out.json()["token"]
  
      return self
  
imports: from typing import List, Optional
  import io, pyarrow, requests, sys
  from graphistry.privacy import Mode, Privacy
  from .ArrowFileUploader import ArrowFileUploader
  from .util import setup_logger
label_desc: Use image node_id 30 for calling the ArrowUploader obj's underlying member method code with example usage: obj._handle_login_response(out, org_name) and returns: self