Got createSession working