load data from server when viewWillAppear