Moved the NSURLSessionTask to viewDidLoad so it has a chance of completing.