a person needs to be registered to vote in an election