able to store data locally but not getting any link to sync locally stored data to server