add compression middleware