add account persistent store and functions