Added voting functionality finally