refactor out qlc on session table