added new relic middleware