updated sql dump;fixed ajax calls