Got getData function working but edit and delete single items links are not displaying