listening to sync events in widget, listening to auth event in widget