New file ajax.php to handle ajax calls