automatically reconnects when detecting triggeRefresh in url, without prompting to login first
starting to tidy up UI so logins in modal etc