Adding post voting functionality