Updated AJAX in main.js to fix link, fixed PHP

signup is now back online