Check whether the verification code entered is correct