adding template page