Added more log messages for session debugging