removed insecure package and moved votig methods to server side