Added check for valid verifier ID
Fixed some minor bug