adding validation to signup