 
     func markAsRead(indexPath: NSIndexPath) {
         let entry = entries[indexPath.item]
-        if self.client.isLoggedIn {
-            FeedlyAPIClient.sharedInstance.client.markEntriesAsRead([entry.id], completionHandler: { (req, res, error) -> Void in
+        if feedlyClient.isLoggedIn {
+            feedlyClient.client.markEntriesAsRead([entry.id], completionHandler: { (req, res, error) -> Void in
                 if let e = error { println("Failed to mark as read") }
                 else             { println("Succeeded in marking as read") }
             })


    func markAsSaved(indexPath: NSIndexPath) {
        let entry = entries[indexPath.item]
        if self.client.isLoggedIn {
            let client = FeedlyAPIClient.sharedInstance.client
            client.markEntriesAsSaved([entry.id], completionHandler: { (req, res, error) -> Void in
                if let e = error { println("Failed to mark as saved") }
                else             { println("Succeeded in marking as saved") }
            })
            client.markEntriesAsRead([entry.id], completionHandler: { (req, res, error) -> Void in
                if let e = error { println("Failed to mark as read") }
                else             { println("Succeeded in marking as read") }
            })

                    if let dic = error.userInfo as NSDictionary? {
                        if let response:NSHTTPURLResponse = dic[key] as? NSHTTPURLResponse {
                            if response.statusCode == 401 {
                                self.feedlyClient.clearAllAccount()
                                //TODO: Alert Dialog with login link
                            } else {
                            }
