changed templates to turn off autoescape of html