Better use the InMemoryStateRepository for the demo