title: After firebase.auth().signOut() when I am trying to login again without signing up, it doesn't work
body: <p>I am unable to login after firebase.auth().signOut(). If I do sign up again then it works. But exiting user can not sign in. What should I do?</p>
  
  <p>LogOut:</p>
  
  <pre><code>private void logout() {
      session.setLoggedin(false);
      mAuth.signOut();
      Intent intent = new Intent(Main2Activity.this, MainActivity.class);
      intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_CLEAR_TASK | Intent.FLAG_ACTIVITY_NEW_TASK);
      startActivity(intent);
  }
  </code></pre>
  
  <p>LogIn:</p>
  
  <pre><code>private void LogIn() {
      mDatabase.addValueEventListener(new ValueEventListener() {
          @Override
          public void onDataChange(DataSnapshot dataSnapshot) {
              if (dataSnapshot.child("+880" + mobile).exists() &amp;&amp; dataSnapshot.child("+880" + mobile).child("password").getValue().equals(userPassword) ) {
                  Toast.makeText(MainActivity.this, "Password match", Toast.LENGTH_SHORT).show();
                  Intent intent = new Intent(MainActivity.this, Main2Activity.class);
                  intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_CLEAR_TASK | Intent.FLAG_ACTIVITY_NEW_TASK);
                  session.setLoggedin(true);
                  startActivity(intent);
              }else {
                  Toast.makeText(MainActivity.this, "User or Password doesn't match", Toast.LENGTH_SHORT).show();
              }
          }
  
          @Override
          public void onCancelled(DatabaseError databaseError) {
  
          }
      });
  }
  </code></pre>