using ejs as a templating engine