add a switch for LPSSession to make it dummy or connected to an LPS server