added join and leave msgs