using this script: 
import requests
from bs4 import BeautifulSoup
import re

import multiprocessing

session_guid: str 
search_secret: str

## login via username and password to ubox mobile, retrives sessionGUID which will be used to access POS for secret
def login(username, password):
    uboxMobile = "https://uboxmobile.uhaul.net/Launcher/"
    loginData = {"Smid": username, "Password": password, "EntityCode": ""}
    r = requests.post(url=uboxMobile, data=loginData, allow_redirects=True)
    ## fetch sessionGUID
    for urls in r.history:
       urls.headers = str(urls.headers)
       pattern = r"sessionGuid=([^&]+)"
       match = re.search(pattern, urls.headers)
       if match:
          session_guid = match.group(1)
          return session_guid 
       else: 
          return str(r.status_code) + f"\n{r.text}\n{str(r.status_code)}" ## catch anything else and display what it is
    try:
      soup = BeautifulSoup(r.content, "html.parser") 
      results = soup.find('div', class_ = "validation-summary-errors")
      if results.text.strip() == "Invalid login.":
        return 'invalid login'
    except Exception: ## dogshit skiddery idc
       pass
"""
pool = multiprocessing.Pool(processes=procNum)

posGuid = pool.starmap(login, [(c["username"], c["password"]) for c in credentials]) # df010517:Dartmouth123

pool.close()

pool.join()
"""

### pos login 
def returnData(guid, term):

   params = {'app': 'CSFRewrite', 'guid': f'{guid}', 'entity': '10517', 'isDealer': 'True'}
   posUrl = "https://poslogin.uhaul.net/secure/LaunchToSite/Launch.aspx"
   r = requests.Session() ## start POS session 

   p = r.post(url=posUrl, params=params, allow_redirects=True)

   lookupUrl = p.url.strip('/Index') + f"/Customer/SearchForCustomer" ## skiddery cleanup for url 
   s = r.post(lookupUrl, data={'searchItem': term }) ## json format will be id: phoneNumber / Email
### catch if invalid request
   try: 
      invalidUrl = "https://pos.uhaul.net/secure/CSFRewriteConsole3/Account/Timeout" ### login failure
      if r.url == invalidUrl:
         print("error reached the following URL: " + r.url)
      else:
         pass
   except Exception:
      pass
   return s.text
print(returnData(login("aaditya4u","Aadi@1985"), "test@uhaul.com"))

incorporate the functions into the following: 
import json
import requests
from bs4 import BeautifulSoup
import random 
class uHaul:
    def  __init__(self, username, password, entity='', debugMode=False, proxy=""):
        self.username = username
        self.password = password
        self.debugMode = debugMode
        self.authenticated = False
        self.proxies=dict(http=proxy,https=proxy)
        self.entity = entity
        self.sessionSecret = ''
        self.session = self.createSession()
        self.authenticate()
    

    def dprint(self, msg):
        if(self.debugMode):
            print("[debug] ---> " + str(msg))

    def createSession(self):
        session = requests.Session()
        self.dprint("Init requests session...")
        session.headers.update({
            'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/117.0'
        })
        session.proxies.update(self.proxies)
        return session


    def authenticate(self):
        postData = {'Username':self.username,
                    'Password':self.password,
                    'Entity':self.entity
                    }

        req = self.session.post("https://pos.uhaul.net/secure/CSFRewriteConsole2/Account/Login",data=postData)
        ## need to change success key 
        if ('<title>Reservation Details</title>' in req.text):
            self.authenticated = True
            self.sessionSecret = req.history[1].headers['Location'].split("/")[3]
            # secret0 = req.history[0].url
            self.dprint("Authenticated! ")
            self.dprint("Sessuib secret = " +  str(self.sessionSecret))
        else:
            self.dprint("Failed to authenticate")


    def searchForCustomer(self,customer):
        
        secretsessionid = self.sessionSecret
        url = f"https://pos.uhaul.net/secure/CSFRewriteConsole2/{secretsessionid}/Customer/SearchForCustomer"
        postData = {
            'searchItem': customer
        }
        req = self.session.post(url,data=postData)
        self.dprint(req.text)
        result = json.loads(req.text)

        self.dprint("[" + str(result['success']) + f"] ---- customer lookup status for [{customer}]")
uhaul_username = "aaditya4u" 
uhaul_password = "Aadi@1985"
mainaccount = uHaul(uhaul_username, uhaul_password, debugMode=True)
mainaccount.searchForCustomer("test@uhaul.com")