Client and server side voting now works