setup the html tamplate