configure session