         super.viewDidLoad()
         
         logoutBarButtonVariable = logoutBarButtonItem
-
+        
         let firstVC: UIViewController = navigationController!.viewControllers[0] as UIViewController
         if firstVC.navigationItem.rightBarButtonItem == nil {
             firstVC.navigationItem.setRightBarButtonItem(logoutBarButtonItem, animated: false)

        
        dataSource = AccountTableViewDataSource(asDataSourceForTableView: tableView)
        tableView.delegate = self

        let title = NSLocalizedString("Accounts title", comment: "Title for navbar at accounts view")
        
        if let showingItem: UINavigationItem = navigationController?.navigationBar.backItem {
            

        }

        navigationItem.setHidesBackButton(true, animated: false)
        navigationItem.backBarButtonItem = nil
        navigationItem.leftBarButtonItem = nil
        
        navigationController?.navigationBar.topItem?.setRightBarButtonItem(logoutBarButtonItem, animated: false)
        navigationController?.navigationBar.topItem?.title = title
    }
    
    override func viewDidAppear(animated: Bool) {
