Update in Application.php: differenciate Framework ajax calls from Applications ajax calls