         }
 
         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) {

            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)
