I am downloading data from Firebase and storing into UserDefaults. I am encoding and decoding it properly, and I can retrieve the data once its decoded. The problem I am stuck