Update signup.js

validate <-> edit (naming error)