         Alamofire.request(.GET, "https://api.pushbullet.com/v2/users/me", headers: headers)
             .responseString { response in
                 if let info = response.result.value {
+                    debugPrint(info)
                     self.userInfo = JSON.parse(info)
-                    callback()
-                }
-        }
-        
-    }
-    
-    //fixme
-//    func userNotificationCenter(center: NSUserNotificationCenter, didDismissNotification notification: NSUserNotification) {
-//        for item in pushHistory {
-//            if item["notification_id"].string == notification.identifier && item["type"].string == "mirror" {
-//                ephemerals.dismissPush(item, trigger_key: nil)
-//                break;
-//            }
-//        }
-//    }
+                    if callback != nil {
+                        callback!()
+                    }
+                }
+        }
+        
+    }
     
     func userNotificationCenter(center: NSUserNotificationCenter, didActivateNotification notification: NSUserNotification) {
         switch notification.activationType {

                        
                        if let actions = push["actions"].array {
                            notification.hasActionButton = true
                            if(actions.count == 1) {
                                notification.actionButtonTitle = actions[0]["label"].string!
                            } else {
                                var titles = [String]()

        
        if let type = message["type"].string {
            switch type {
                
            case "tickle":
                if let subtype = message["subtype"].string {
                    if(subtype == "account") {
                        getUserInfo(nil)
                    }
                }
                break;
            case "push":
                let push = message["push"];
                pushHistory.append(push)
