Use separate middleware