Refactored kick/leave/join functionality on client.