Fetch user data from Firebase database

Why not use the inbuilt Firebase Database component?
Check this out

If you want to learn the basics, check this out…