Add template for main page