added template viewer page