         return firstly {
             self.addAuthToken()
         }.then { headers in
-            Alamofire.request(API_ROOT + "/Account/Videos/" + String(video.getId()), method: .put, parameters: parameters, encoding: JSONEncoding.default, headers: headers).validate().responseJSON(with: .response).then { value in
+            self.sessionManager.request(API_ROOT + "/Account/Videos/" + String(video.getId()), method: .put, parameters: parameters, encoding: JSONEncoding.default, headers: headers).validate().responseJSON(with: .response).then { value in
                 return JSON(value)
             }
         }

            "fullName": fullName,
        ]

        return Alamofire.request(API_ROOT + "/Accounts", method: .post, parameters: parameters, encoding: JSONEncoding.default).responseJSON(with: .response).then { value -> JSON in
            JSON(value)
        }
    }

        return firstly {
            self.addAuthToken()
        }.then { headers in
            self.sessionManager.request(API_ROOT + "/Account/Videos", headers: headers).validate().responseJSON(with: .response).then { value -> [Video] in
                var videos: [Video] = []

                let data = JSON(value).array
