added a session manager with a InMemory implementation, but still WIP, though not used in main.rs yet