A new resave function should be created in SessionStorageApi.js.
This resave function should be able to be called whenever the user is updated from UserApi.js.
The authorized user can then depend on what is in session storage.
Currently if a user updated any of their information, Account.js is updated, BUT disappears on refresh.
A new resave function should be created in SessionStorageApi.js. This resave function should be able to be called whenever the user is updated from UserApi.js. The authorized user can then depend on what is in session storage.
Currently if a user updated any of their information, Account.js is updated, BUT disappears on refresh.
[x] Resave function created.
[x] Resave function tested.
[x] Resave function implemented.
[x] Final resave function implementation tested.