sessions state now set to pending in the constructor