add the template in app.