added header to req and res