         
         dataSource = AccountTableViewDataSource(asDataSourceForTableView: tableView)
         tableView.delegate = self
-
+        
         let title = NSLocalizedString("Accounts title", comment: "Title for navbar at accounts view")
+        logoutButton.setTitle(NSLocalizedString("log out button title", comment: "Title for log out button"), forState: .Normal)
+        logoutButton.setTitleColor(UIColor.digipostLogoutButtonTextColor(), forState: .Normal)
         
         if let showingItem: UINavigationItem = navigationController?.navigationBar.backItem {
             

            if showingItem.respondsToSelector("setRightBarButtonItem:") {
                showingItem.setRightBarButtonItem(logoutBarButtonVariable, animated: false)
            }
            
            if showingItem.respondsToSelector("setBackBarButtonItem:") {
                showingItem.backBarButtonItem = nil
            }

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