fixed bug on user count on disconnect
Merge branch 'chat-upgrade'