Firebase objects and sign in (SOLVED)

This is my code:

This is my Firebase:

image

I keep getting the email and username do not match. I believe there is something wrong with my code. The email is under the username name which is eoinparkinson, and the username is not an object of anything.

Do i need the get object from json like in a web api? when i use this block i get no error code.

All help would be much appreciated. Thanks

I do apologise for my stupidity. I understand now. Nothing above is supposed to work :stuck_out_tongue: