[#3] Fix endpoints for voting