Refactored WebServer Recognition functionality