Able to detect user connecting and leaving