                                 customAttributes: [:])
                         }
                     case .Failure(let error):
-                        print(error)
+                        // print(error)
                         Answers.logCustomEventWithName("Push token addition failed",
                             customAttributes: [
                                 "error": error.localizedDescription

        //
        // if denied access users can change permissions later
        // display root controller otherwise
        let first_time = KeychainSwift().getBool("firstTime")
        if first_time == true || first_time == nil {
            
            Answers.logCustomEventWithName("First Time Launch",
                                           customAttributes: [:])
            
            KeychainSwift().set(false, forKey: "firstTime")
            let viewController = AuthViewController()
            // Show dialog with callbacks
            pscope.show({ finished, results in
                // Enable push notifications

        pscope.permissionLabelColor = UIColor.mediumBlue()
        
        // Register for push notification on every launch
        notify()

        // Global window attributes
        self.window = UIWindow(frame: UIScreen.mainScreen().bounds)
