Added handlers for JOIN and QUIT commands