         }
     }
     
+    func showErrorMessage(message: String) {
+        errorMessageLabel.text = message
+        self.tableView.backgroundView = errorMessageLabel
+        self.tableView.separatorStyle = .None
+    }
+    
     func stylePostCellAsRead(cell: UITableViewCell) {
         cell.textLabel?.textColor = ReadTextColor
         cell.detailTextLabel?.textColor = ReadDetailTextColor

                        UIApplication.sharedApplication().networkActivityIndicatorVisible = false
                    })
                } else {
                    println("Could not fetch posts!")
                    self.scrolledToBottom = false
                    self.refreshControl.endRefreshing()
                    UIApplication.sharedApplication().networkActivityIndicatorVisible = false

        
        fetchPosts()
    }

}
