switches templates to use app.locals