added checks to sign-up.html in main.js