adding index and show actions