Handle the join command