title: Unable to add to Firebase table
body: <p>Below is the rule.</p>
  
  <pre><code>  {
        "rules": {
          ".read": true,
          ".write": "auth != null"
        }
      }
  </code></pre>
  
  <p>Here is the code I am using to add. The line <code>mAuth,getCurrentUser.isAnonymous</code> returned false and userid also printed the value. The user is authenticated but unable to write to users table.</p>
  
  <pre><code>System.out.println("Anonymous - "+ mAuth.getCurrentUser().isAnonymous());
  mRef = new Firebase("https://moe-90cc7.firebaseio.com/users");
  String userid = mAuth.getCurrentUser().getUid();
  System.out.println("userid---" + userid);
  mRef.child(userid).setValue("1");
  </code></pre>
  
  <p>When I change rule to </p>
  
  <pre><code>read: true
  write: true
  </code></pre>
  
  <p>it works fine, but the point is why its not working with <code>auth!=null</code> rule when I am authenticated user.</p>
  
  <p>Is there anything I can do to double check if the user is authenticated or not?</p>