why my guessing number game have some error

UH2.aia (948.9 KB)
I made a number guessing game and I use tinydb to store the usernames and passwords of the people who play and how many tries they need to win the game but why is it that every time I want to sign in from my game the data is lost like when I have signed in and I want to log out to create a new account, suddenly the account I previously created disappeared, this also happened on the score screen, why did this happen? and that is my aia file

User several/variable tags to store data and select the specific tag that you want to clear.