     
     var logoutBarButtonVariable: UIBarButtonItem?
     
-    var refreshControl: UIRefreshControl?
+    var refreshControl: UIRefreshControl? // trengs?
     //var dataSource: POSAccountViewTableViewDataSource?
     var dataSource: AccountTableViewDataSource?
     

       // self.dataSource = POSAccountViewTableViewDataSource(asDataSourceForTableView: self.tableView)
        
        logoutBarButtonVariable = logoutBarButtonItem
        let firstVC: UIViewController = navigationController!.viewControllers[0] as UIViewController
        if firstVC.navigationItem.rightBarButtonItem == nil {
            firstVC.navigationItem.setRightBarButtonItem(logoutBarButtonItem, animated: false)

        POSAPIManager.sharedManager().updateRootResourceWithSuccess({ () -> Void in
            }, failure: { (error: NSError!) -> Void in
                
                let key = AFNetworkingOperationFailingURLRequestErrorKey
                if error.userInfo![key] != nil {
                    let response =  error.userInfo![key] as NSHTTPURLResponse
                    
                    if response.isKindOfClass(NSHTTPURLResponse) {
                        if (POSAPIManager.sharedManager().responseCodeIsUnauthorized(response)) {
