         }
     }
     
-    func resetUserDefaults() {
+    private func resetUserDefaults() {
         let store = userDefaults()
         for (key, _) in store.dictionaryRepresentation() {
             store.removeObjectForKey(key)


public class SBAUser: NSObject, SBAUserWrapper {
    
    let lockQueue = dispatch_queue_create("com.sba.UserLockQueue", nil)

    public func logout() {
        self.sessionToken = nil
        dispatch_sync(lockQueue) {
            self.resetUserDefaults()
            self.resetKeychain()
        }

        }
    }

    public var consentSignature: SBAConsentSignature? {
        get {
            return getKeychainObject(kConsentSignatureKey) as? SBAConsentSignature
