added lines to send JOIN msg