In a general election, each state has officials who count and CERTIFY voters.
The officials have to make sure that the people who give their vote have the Credibility and rights to voice their vote, to avoid any sort of Election fraud that may negatively affect one candidate