 	
 	override func scrollViewDidScroll(scrollView: UIScrollView) {
 		super.scrollViewDidScroll(scrollView)
-		customRefresh?.scrollViewDidScroll(scrollView)
+		customRefresh.scrollViewDidScroll(scrollView)
 	}
 	
 	func setupAddButton() {

		}
		
		//timeout for refresh taking too long
		delayInSeconds = 10.0;
		popTime = dispatch_time(DISPATCH_TIME_NOW, Int64(delayInSeconds * Double(NSEC_PER_SEC)));
		dispatch_after(popTime, dispatch_get_main_queue()) { () -> Void in
			if !finishedRefreshing {
				self.refreshControl?.endRefreshing()
				self.view.userInteractionEnabled = true

		}
		
		notConnected()
	}
	
	func refreshFeed() {
