Session ID returned correctly

Session ID was not returned correctly after creating a session.
Merge pull request #207 from thvranken/develop

Session ID returned correctly