Add newrelic call for render_template method