Added loadData function call to products index, as it was missing