abstracted header setting to router.use