 import UIKit
 import PINRemoteImage
 import SafariServices
+import Alamofire
 
 class MasterViewController: UITableViewController,
   LoginViewDelegate,

  }
  
  @IBAction func segmentedControlValueChanged(sender: UISegmentedControl) {
    
  }
}

  
  func loadGists(urlToLoad: String?) {
    self.isLoading = true
    let completionHandler: (Result<[Gist], NSError>, String?) -> Void = { (result, nextPage) in
      self.isLoading = false
      self.nextPageURLString = nextPage
      
