move server calls to StoreDataController