Problemas con inicio de sesiónen app - problems with login in app

Hi, I’m new to this in the creation of applications. But I spent several weeks trying to create an educational dye application intended for teachers, which through the app could receive news of diverse nature, but for this I need each one to have a user.
The problem is that I can not solve the following problems:
1- The “registro01” button can not register people in the firebase database, even though the token and addresses are fine
2- When the “registro01” button is registered, you should go to the “Programas” screen, which you do not do.
3- If the “Ingresar” button is already registered, you should start the already memorized session and go to the “Programas” screen, which you do not either.
4- When starting the app for the second time, the “registro01” button should be disabled and hidden, which it does not either.
If you could give me a hand I would be grateful. Anyway I’m still trying to solve it but it’s been several days … Thank you very much
I leave the .aia file to give you an idea of ​​what I’m talking about.

Hola, soy nuevo en esto de la creación de aplicaciones. Pero estuve varias semanas intentando crear un aplicación de tinte educativo destinada a docentes, los cueles a través de la app podrían recibir noticias de diversa índole, pero para ello necesito que cada uno disponga de un usuario.
El problema es que no puedo resolver los siguientes problemas:
1- El boton “registro01” no logra registrar a las personas en la base de datos de firebase, a pesar de que los token y direcciones se encuentran bien
2- Al quedar registrado el botón “registro01” debería dirigir a la pantalla “Programas” lo cual no hace.
3- Si ya esta registrado el botón “Ingresar” debería iniciar la sesión ya memorizada y dirigirte a la pantalla “Programas”, lo cual tampoco hace.
4- Al iniciar por segunda vez la app, debería el botón “registro01” quedar inhabilitado y oculto, lo cual tampoco hace.
Si pudieran darme una mano les estaría agradecido. De todas formas sigo intentando resolverlo pero ya llevo varios días… Desde ya muchas gracias
Dejo el archivo .aia para que se den una idea de lo que hablo.
Community.aia (8.4 MB)

show your blocks nobody will download your file open it and check it. show us your block editor than maybe you will nget some help


This would be the registration screen, with all the tools that were used.

and these the blocks that I was using in order.
As you will see, when certain parameters are met, you should go to the next screen.




the “Registro001” button should be hidden when it is started more than once.