using memorystore and sessionstore, socket working