Added CORS support
Removed debug logging