Allows node to understand multiple sessions

Closes #146 
`newSession` is a good variable name, you can delete this line. The word current is a little misleading.