Validation and verification for elections