         switch section {
         case .Account:
             switch AccountRow(rawValue: indexPath.row)! {
-            case .LoginOrLogout:
+            case .Feedly:
                 if CloudAPIClient.isLoggedIn {
                     showLogoutDialog()
                 } else {
                     showLoginViewController()
+                }
+            case .YouTube:
+                if YouTubeAPIClient.isLoggedIn {
+                    showDisonnectYouTubeDialog()
+                } else {
+                    showYouTubeLoginController()
                 }
             }
         case .Behavior:

        let oauthvc = FeedlyOAuthViewController()
        navigationController?.pushViewController(oauthvc, animated: true)
    }
    
    func showLogoutDialog() {
        let ac = UIAlertController(title: "Logout".localize(),
                                 message: "Are you sure you want to logout?".localize(),
                          preferredStyle: UIAlertControllerStyle.Alert)
        let okAction = UIAlertAction(title: "OK".localize(), style: UIAlertActionStyle.Default) { (action) in
            self.logout()
        }
        let cancelAction = UIAlertAction(title: "Cancel".localize(), style: UIAlertActionStyle.Cancel) { (action) in
        }
        ac.addAction(okAction)

        presentViewController(ac, animated: true, completion: nil)
    }

    func showLogoutDialog() {
        showConfirmDialog("Logout", message: "Are you sure you want to logout?") { (action) in
            self.logout()
        }
    }

    func showDisonnectYouTubeDialog() {
        showConfirmDialog("Disconnect with YouTube", message: "Are you sure you want to disconnect with YouTube?") { (action) in
            YouTubeAPIClient.clearAllAccount()
            self.tableView?.reloadData()
        }
    }

    // MARK: - Table view data source

