only log one session if the session has not been changed