app.js wasnt referencing template properly