Now loading html pages with templates