Dynamically create home handler