I am doing a social media project right now. Which i need to have user presence and it is very important. I have seen the methods onDisconnect() and then making
onDisconnect()