Displays message when connected to websockets