modal auth and connection switcher