         activeSessionTask?.resume()
     }
 
-    private func loadResponse(response: NSString) {
+    private func loadResponse(response: String) {
         let webViewController = WebViewController()
         webViewController.URL = URL
         navigationController?.pushViewController(webViewController, animated: true)

    }
}

func JSONStringify(object: AnyObject) -> NSString {
    if let data = NSJSONSerialization.dataWithJSONObject([object], options: nil, error: nil),
        string = NSString(data: data, encoding: NSUTF8StringEncoding) {
            return string.substringWithRange(NSRange(location: 1, length: string.length - 2))
    } else {
        return "null"
    }

            if let httpResponse = response as? NSHTTPURLResponse {
                if httpResponse.statusCode >= 200 && httpResponse.statusCode < 300 {
                    dispatch_async(dispatch_get_main_queue(), { () -> Void in
                        if let response = NSString(data: data, encoding: NSUTF8StringEncoding) as? String {
                            self.loadResponse(response)
                        }
                    })
                }
            }
