Question: I am making an app, and in that app, users login and I am storing their information; however, I have noticed that I don't have a users' password information after they register. Is it a good idea to store users' password when they register through Firebase? And is there a point where I will need their passwords? I want to make sure before I proceed further. Thanks!

Answer: 
You do not do that.

Use the (awesome, amazing) Firebase authentication system.

Click right here:

[![enter image description here](https://i.stack.imgur.com/VSUcx.png)](https://i.stack.imgur.com/VSUcx.png)

**on the left**, to see all the users - click **"Authentication"**.

You never see / you cannot see their passwords.

You don't handle or touch the passwords at all.

In the Android or iOS app, you get the userid - and that's it.

**The answer by @PeterHaddad shows perfectly how to do that.**

That's the first and most basic step in any Firebase ios/droid app.

In your data you'll have a "table" called probably "userData/" and that's where you keep all data about the user. (For example, you may store their address, real name, shoe size .. whatever is relevant in your app.)

Note - FBase is so amazing, your users can also connect with other methods (phone, etc). For your reference in the future, that is explained [here](https://stackoverflow.com/a/48692393/294884)
You don't need to store the password in the firebase database, after you authenticate the user using `createUserWithEmailAndPassword` the email and other info will be stored in the authentication console. So you do not need the password in the database, all you need is the userid to connect auth with database.

```
FirebaseUser user=FirebaseAuth.getInstance().getCurrentUser();
String useruid=user.getUid();

```