Refactoring, removed the log session record.