title: Firebase simple authentication with email/password
body: <p>I'm new to Firebase and I'm attempting to set-up a simple authentication system using e-mail/password. The initial concept is simple: you register. Then, after logging in, you can access the rest of the mobile app. </p>
  
  <p>In the past, I could set this up with PHP in just a few minutes. But with Firebase, this has become a battle that I can't seem to win. </p>
  
  <p>Using the light documentation found on Firebase's site, I was finally able to successfully register and authenticate a user. Great.</p>
  
  <p>Unfortunately, people can still access the rest of the app whether they are logged in or not. How do I keep the app protected from non-authenticated users?</p>
  
  <p>Also, how do I associated data submitted on a page with an authenticated user?</p>
  
  <p>I've looked at Firebase's documentation. It lacks practical examples for authentication. It keeps referring me to the Firefeed app as a sample. I've looked at Firefeed's code and the authentication system seems 1) excessively complicated for a login system and 2) too intricately tied in to news feeds to be a practical example to learn from. </p>
  
  <p>On the other hand, perhaps I'm just missing something obvious and fundamental. If someone could point me in the right direction, that would be great. Thanks! :-)</p>
  
  <p>(By the way, I tried e-mailing this question to firebase-talk@googlegroups.com, as suggested on Firebase's site... but the group does not appear to exist, according to the bounce-back message from Google.)</p>