added template for main page