print messages for connect/disconnect