title: How to extract the data from a firebase.auth().onAuthStateChanged
body: <p>I need to obtain data of the user who is logging in. I use firebase.auth().onAuthStateChanged to see if the user is logged in and I console.log the userData returned. </p>
  
  <p>It returns all the user's data, see below, but I cannot find how to retrieve it. I can retrieve userData.email, userData.fullname and userData.uid which I know come from the authorization but the other data is there. I know I could use the uid to read the data agaib but it is already there.</p>
  
  <p>I would be very grateful if someone could help me.  </p>
  
  <p>confirm:"new"
  email:"yakr@uacro.com"
  fullname:"john Varified"
  paytype:"d"
  registrationDate:"Sat Sep 23 2017"
  theme:"grey"
  uid:"FWOb7eJ38veRXQ7wadk77YzhyMj1"</p>