added middleware to check blacklisted

bugzilla CANCELED