     }
 
     @objc private func getUserStatus() {
-        CurrentUser.sharedInstance.currentStatus { status in
+        CurrentUser.sharedInstance.currentStatus { status, error in
             self.logStatusChange(status: status)
         }
     }

        logStatusChange(string: "Log user identifier")
            CurrentUser.sharedInstance.userIdentifier { userIdentifier, error in
                if let userIdentifier = userIdentifier {
                    self.logStatusChange(string: "User identifier: \(userIdentifier.userIdentifierString)")
                } else {
                    self.logStatusChange(string: "Unable to get user identifier")
                }


    @IBAction func forceReloadUserStatus() {
        logStatusChange(string: "Force reload of user")
        CurrentUser.sharedInstance.currentStatus(forcedReload: true) { status, error in
            self.logStatusChange(status: status)
        }
    }
