Changed party index to root url and added table view, changed the js for party index