You logging into the voting machine is recorded when you vote. Information about who you voted for is not recorded.
And how can you be certain that when the votes are counted, your vote is being included? Having something recorded on the blockchain (or any other public record) doesn't help at all with that; you still have to trust the people counting the votes to count them fairly. Or if the votes are counted by machine, you have to trust those who built and operate the machine. If somebody queries the totals after the election, they can't use the blockchain records to check that the total is correct; conversely it's possible for a malicious actor to stuff ballots without ever recording it in the blockchain.
There are proposals for cryptographic voting systems that work properly. When you vote, your vote is recorded so that you can check that it was counted (and anyone can check that the count includes all votes cast); but you cannot find out or demonstrate what the vote was. This is an interesting area of research but it is a lot more complicated than just saying 'add something to the blockchain'. Doing that by itself adds nothing.