Adding in templating for admin page, as well as the index page.