post on selectively applying middleware to routes