How to avoid duplicate Voting