moved delete action to index and out of itemController.