Modified LogOn LogOff to work from MDI window