added join and leave messages