Logic fix in user verification.