Adds vote event on web socket server.
Adds listener to update vote when user-vote event is fired.