allow html to be parsed as ejs and add logging