change retrieve data methods as per Andy
add indication view when fail to retrieve the JSON data