Implemented account fetching and saving (pending successful test)