- creating a function in webui/main.py root_url() that returns the root url without trailing / - use this function in router and template/loader