title: Displaying text after login
body: <p>I am designing a math problem site using Firebase and I want to display a problem when someone logs in.</p>
  
  <p>What I want in pseudo code is,</p>
  
  <pre><code>if user logged in
  document.write([problem])
  else
  document.write(Please login to see the problem)
  </code></pre>
  
  <p>Any ideas?</p>