title: User logout after refreshing the page
body: <p>I am using Firebase authentication. After authentication when refresh the page user is logged out.</p>
  
  <p>I have this in my index.js file but it doesn't work.</p>
  
  <pre><code>firebase.auth().setPersistence(firebase.auth.Auth.Persistence.SESSION);
  </code></pre>