Added foreach loop to display track details for search results