Added handlers and html templates for webpages