Session creation fixed