Validating password length to minimum 6 characters