listening to the connecting event in the widget and going into authing state then