Anvil.pico.connect freezes all functions

You can certainly run your own functions when authentication happens! See on_first_connect and on_every_connect in the docs: Anvil Docs | Uplink for Pico W