made sure to set isTyping to false when a user disconnects