add request method in vc's viewWillAppear function