Creating html templates for handlers