Allows node to understand multiple sessions

Closes #146 
Can you rename this function to `handleNewSession`? The name `sessionStarted` sounds like an event name, rather than a function name.