added AccountStatus
added MemoryCache
added some error handling