Added method to display data in uicollectionView