rename createSession to Session