     // but I'm not sure
     public var userData = User?()
     
+    private let urlSession = NSURLSession(configuration: NSURLSessionConfiguration.ephemeralSessionConfiguration())
+    
 
     // MARK: - Singleton
     private static let instance = BangumiRequest()

                print(error!.localizedDescription)
                handler(nil)
            } else {
                if var json: AnyObject = self.parseJsonData(data!) {
                    handler(json)
                } else {
                    handler(nil)
                }
            }
            
            NSURLCache.setSharedURLCache(NSURLCache(memoryCapacity: 1024, diskCapacity: 0, diskPath: nil))
        })
        


        do {
            jsonResult = try NSJSONSerialization.JSONObjectWithData(data, options: NSJSONReadingOptions.MutableContainers)
        } catch let error1 as NSError {
            print(data)
            error = error1
            jsonResult = nil
        }
