main: init session module first