fix singup with 'mail' instead of 'email'