Adds PHP implementation of client-side OTP check