         NSNotificationCenter.defaultCenter().postNotificationName(kShowLoginViewControllerNotificationName, object: nil)
         tableView.reloadData()
         APIClient.sharedClient.logout()
+        
     }
 
 }

        super.viewDidLoad()
        
        logoutBarButtonVariable = logoutBarButtonItem
        
        if let firstVC: UIViewController = navigationController?.viewControllers[0] as? UIViewController {
            if firstVC.navigationItem.rightBarButtonItem == nil {

        super.viewWillAppear(animated)
        
        let title = NSLocalizedString("Accounts title", comment: "Title for navbar at accounts view")
        
        logoutButtonVariable?.setTitle(NSLocalizedString("log out button title", comment: "Title for log out button"), forState: .Normal)
        logoutButtonVariable?.setTitleColor(UIColor.digipostLogoutButtonTextColor(), forState: .Normal)
        
        if let showingItem: UINavigationItem = navigationController?.navigationBar.backItem {
            
