Can't login a second time

Do you want me to show you how to prepare a wpa_supplicant.conf file that you can use on headless systems or in general to provide WiFi access to the Pi without needing to manually go and set it up via raspi-config?

If so, I’ve posted the instructions once before here: Wifi not working - Anthias - Anthias Forum (screenly.io)

It makes setting up the Pi so much easier because you load up that file in the SD card and upon the system starting up it looks for this file like it does the ssh one and when found it automatically creates the connection for you (if the file is properly created of course), so I highly recommend you do this.