now getting host_url of the admin page dynamically from request.