made connectedstatus tell difference between doctors and clients