 //        self.meteorClient.addSubscription("activeUsers")
 //        self.meteorClient.addSubscription("userData")
         self.meteorClient.addSubscription("subscription")
-      //  self.meteorClient.addSubscription("messages", withParameters: ["GENERAL"])
 
         return true
     }

      meteorClient.logonWithSessionToken(sessionToken, responseCallback: {(response, error) -> Void in
        
        if((error) != nil) {
          print("error!!! \(error)")
          return
        }
        print(response)
        
        let appDelegate:AppDelegate = UIApplication.sharedApplication().delegate as! AppDelegate
        

    
    
    
    NSNotificationCenter.defaultCenter().addObserver(self, selector: "reportConnectionReady", name: MeteorClientConnectionReadyNotification, object: nil)
    NSNotificationCenter.defaultCenter().addObserver(self, selector: "reportConnection", name: MeteorClientDidConnectNotification, object: nil)
    NSNotificationCenter.defaultCenter().addObserver(self, selector: "reportDisconnection", name:MeteorClientDidDisconnectNotification, object: nil)
