Implemented a filter to check every incoming request