Revert "corrected typo, added comments"

This reverts commit 460abdc14c67866335cc8080d30811d356b8456f.
fixed no. of disconnected sessions when there are none