removed logging statement in router express middleware function