fixed validation for account creation