Logging the session creation method