Functional voting client side (hopefully)