Refactor the existing scattered code dealing with the account state into a pinia store.
Replace the convoluted useAccountSession composable with a pinia store that in addition allows for the consolidation of all session related functions to grouped into one module.