added connected and disconnect messages for testing