removed debug code
more better logging
specify the message type
autojoin/alias