completed adapting account manager to using storage adapter