Added voting system to index and show pages