AJAX Authentication and Cross-Origin Requests | GenAI Works