add signup submit form function to signup.js