Allows multiple votes from same connection
Refactored code