controller for each html template