     override func viewWillAppear(animated: Bool) {
         super.viewWillAppear(animated)
         
-        self.tableView.registerNib(UINib(nibName: "AccountTableViewCell", bundle: NSBundle.mainBundle()), forCellReuseIdentifier: Constants.Account.cellIdentifier)
-        self.dataSource = AccountTableViewDataSource(asDataSourceForTableView: tableView)
-        self.tableView.delegate = self
+        tableView.registerNib(UINib(nibName: "AccountTableViewCell", bundle: NSBundle.mainBundle()), forCellReuseIdentifier: Constants.Account.cellIdentifier)
+        dataSource = AccountTableViewDataSource(asDataSourceForTableView: tableView)
+        tableView.delegate = self
 
         let title = NSLocalizedString("Accounts title", comment: "Title for navbar at accounts view")
         
-        if let showingItem: UINavigationItem = self.navigationController?.navigationBar.backItem {
+        if let showingItem: UINavigationItem = navigationController?.navigationBar.backItem {
             
             showingItem.hidesBackButton = true
                         

        if UIDevice.currentDevice().userInterfaceIdiom == .Pad {
            if let rootResource: POSRootResource = POSRootResource.existingRootResourceInManagedObjectContext(POSModelManager.sharedManager().managedObjectContext) {
                if rootResource == true {
                    self.performSegueWithIdentifier("gotoDocumentsFromAccountsSegue", sender: self)
                }
            }
        }

            })
            
        } else {
            UIActionSheet.showFromBarButtonItem(logoutBarButtonItem, animated: true, withTitle: NSLocalizedString("FOLDERS_VIEW_CONTROLLER_LOGOUT_CONFIRMATION_TITLE", comment: "You you sure you want to sign out?"), cancelButtonTitle: NSLocalizedString("GENERIC_CANCEL_BUTTON_TITLE", comment: "Cancel"), destructiveButtonTitle: NSLocalizedString("FOLDERS_VIEW_CONTROLLER_LOGOUT_TITLE", comment: "Sign out"), otherButtonTitles: nil, tapBlock: { (actionSheet: UIActionSheet!, buttonIndex: Int) -> Void in
                if buttonIndex == 0 {
                    self.userDidConfirmLogout()
                }
