Renamed doc service as sharedData and it now holds local ID