Added validation on sign up parameters.