Updated index and show view files & pins controller