Added logging on the session