         self.username = username
         self.password = password
     }
+
+    //MARK: NSUserDefaults
+
+    func saveInUserDefaults(userDefaults: NSUserDefaults = NSUserDefaults.standardUserDefaults()) {
+        userDefaults.setObject(serverAddress, forKey: UserDefaultsKey.ServerAddress.description)
+        userDefaults.setObject(username, forKey: UserDefaultsKey.Username.description)
+    }
 }
 
 //MARK: GenericPasswordSecureStorable


    //MARK: Enumerations

    private enum KeychainDataKey: String {
        case Password = "password"
        case ServerAddress = "serverAddress"
    }

    //MARK: Static Properties


    /// Data that's saved in the keychain.
    var data: [String: AnyObject] {
        return [KeychainDataKey.Password.rawValue: password]
    }
}

