Replace dummy data with real data in details controller