changes in initsession structure