Created an itemLinks function that creates the edit and delete links for each item. It is working code.