How to show user name in the case of auth mode?

    app, local_url, share_url = shared.demo.launch(
        share=cmd_opts.share,
        server_name=initialize_util.gradio_server_name(),
        server_port=cmd_opts.port,
        ssl_keyfile=cmd_opts.tls_keyfile,
        ssl_certfile=cmd_opts.tls_certfile,
        ssl_verify=cmd_opts.disable_tls_verify,
        debug=cmd_opts.gradio_debug,
        auth=**auth_func**,
        auth_message="Please input user and pasword",
        inbrowser=auto_launch_browser,
        prevent_thread_lock=True,
        allowed_paths=cmd_opts.gradio_allowed_path,
        app_kwargs={
            "docs_url": "/docs",
            "redoc_url": "/redoc",
        },
        root_path=f"/{cmd_opts.subpath}" if cmd_opts.subpath else "",
    )

I use auth_func(user,password) as login check function, but how to show the user’s details in the gadio page?

with gr.Blocks(theme=shared.gradio_theme, analytics_enabled=False, title="Stable Diffusion") as demo:
    demo.load(init_value, None)

def init_value(req: gr.Request):
# I want to get username from gr.Request, and return the chat history of this user
print(req.username)