add voting functionality to Post service