Integrating key-value storage API to sync sessions.