added loading HTML from a template file