def METHOD_NAME(username, password):
    signup_url = "http://jupyterhub:8000/hub/signup"
    login = {
        "username": username,
        "password": password,
    }
    headers = {"Authorization": f"token {os.environ.get('ADMIN_API_TOKEN')}"}
    try:
        r = requests.post(signup_url, data=login, headers=headers, timeout=5)
        r.raise_for_status()
        app_log.info("user created ", username)
    except Exception as e:
        app_log.warn("cannot create", {"username": username, "error": e})