My Log-in system won't work

I was trying to make the Login/Sign-up UI for a Duolingo-style app but the Log in/Sign up code isn't working for some reason. Whenever I get to the log-in screen, it doesn't take my password? Can someone help?


The log-in page

The Sign-up page

The language-picker

Please help me with this

Though I don't understand your scheme, I see a contradiction in this section of code:
image

You initialize local profile_data as a 4 item list, but then you apply a text trim operator to it.

That forces the 4 item list into a piece of text, probably in JSON [...,...,...,...] format.