         req.HTTPBody = postData
         
         NSURLConnection.sendAsynchronousRequest(req, queue: NSOperationQueue.mainQueue()) {(response, data, error) in
-            var responseString = NSString(data: data, encoding: NSUTF8StringEncoding)
             if (error != nil) {
-                println(responseString)
                 if (errorCallback != nil) {
                     errorCallback!()
                 }
                 return
             }
             
+            var responseString = NSString(data: data, encoding: NSUTF8StringEncoding)
             var responseJSON = JSON(data: data)
             
             if let shareURL = responseJSON["share_url"].URL {

        
        req.HTTPBody = requestJSON.rawString()!.dataUsingEncoding(NSUTF8StringEncoding)
        NSURLConnection.sendAsynchronousRequest(req, queue: NSOperationQueue.mainQueue()) {(response, data, error) in
            var responseString = NSString(data: data, encoding: NSUTF8StringEncoding)
            
            if (error != nil) {
                print(responseString)
                if (errorCallback != nil) {
                    errorCallback!()
                }
                return
            }

            var responseJSON = JSON(data: data)
            
            if let token = responseJSON["token"].string {

        
        req.HTTPBody = requestJSON.rawString()!.dataUsingEncoding(NSUTF8StringEncoding)
        NSURLConnection.sendAsynchronousRequest(req, queue: NSOperationQueue.mainQueue()) {(response, data, error) in
            if (error != nil) {
                if (errorCallback != nil) {
                    errorCallback!()
                }
                return
            }
            
            var responseString = NSString(data: data, encoding: NSUTF8StringEncoding)
            var responseJSON = JSON(data: data)
            
            if let shareURL = responseJSON["share_url"].URL {
                if (successCallback != nil) {
