populating grid with rest data