Changed return value of email script and updated the validator of the sign up form.