Added API for checking the verification code