start session in main