adds compression middleware