     }
 
     enum AccountRow: Int {
-        case LoginOrLogout = 0
-        static let count   = 1
-        var title: String {
-            if CloudAPIClient.isLoggedIn {
-                return "Logout".localize()
-            } else {
-                return "Login".localize()
+        case Feedly      = 0
+        case YouTube     = 1
+        static let count = 2
+        var title: String {
+            switch self {
+            case Feedly:
+                if CloudAPIClient.isLoggedIn {
+                    return "Logout".localize()
+                } else {
+                    return "Login".localize()
+                }
+            case YouTube:
+                if YouTubeAPIClient.isLoggedIn {
+                    return "Disconnect with YouTube"
+                } else {
+                    return "Connect with YouTube"
+                }
             }
         }
     }

        switch section {
        case .Account:
            switch AccountRow(rawValue: indexPath.row)! {
            case .LoginOrLogout:
                if CloudAPIClient.isLoggedIn {
                    showLogoutDialog()
                } else {
                    showLoginViewController()
                }
            }
        case .Behavior:

        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

