Move VerifySignature to main