Added password check to the user creation.