Added flag to start or not session on construct