I made some changes to several files and i changed the redirect.php so we go the cupcakeordering.html instead of the associated php file. I now make a successful ajax call to the server