added rawBody middleware