Made voting a get request
javas