used HTTP service to get data from json and assign to corresponding place