added template and other pages