changed templating engine to EJS