I am currently using Firebase for email and password Authentication. My problem is how do I create the same UID for the 'Email and password authentication section' and the 'Database' section. They appear to have two separate UID. On a note, I used push() for the database section to save the data. For the email and password I used the simple devdoc createemailandpassword function.
