print message when connected