title: Android Firebase setValue() Permission Denied
body: <p>This is how the rules are defined on firebase:  </p>
  
  <pre><code>{
  "rules": {
   "users": {
    ".read": true,
      "$user_id": {
       ".write": "auth.uid === $user_id",
       ".read" : true
    }}}}
  </code></pre>
  
  <p>I have succesfully written new user information in my register activity using setValue() just like below, and also added new comments using push().setValue(), each time I didn't have an issue with authentication. New user written straight to <a href="http://DB/users/" rel="noreferrer">http://DB/users/</a> while comments were added very deep.</p>
  
  <p>Here is a code snippit, my code hits the Log: Data could not be saved. Everytime.</p>
  
  <pre><code>AuthData authData = newRef.getAuth();
  
      if (authData != null) {
          Log.v(LOG_TAG, "Auth as " + authData.getUid());
          Map&lt;String, Object&gt; newEntry = new HashMap&lt;String, Object&gt;();
          newEntry.put("Name", name);
          newEntry.put("Description", desc);
          newEntry.put("DueDate", date);
          newEntry.put("Status", 0);
  
          newRef.setValue(newEntry, new Firebase.CompletionListener() {
              @Override
              public void onComplete(FirebaseError firebaseError, Firebase firebase) {
                  if (firebaseError != null) {
                      Log.v(LOG_TAG, "Data could not be saved. " + firebaseError.getMessage()); //Hits here every time.
                  } else {
                      Log.v(LOG_TAG, "Data saved successfully. Finishing activity...");
                      finish();
                  }
              }
          });
          ;
      }
      else{
          Log.v(LOG_TAG, "No authdata");
      }
  </code></pre>
  
  <p>Hopefully I've provided enough information, I'm guessing the issue is in the security/rules but any direction/guidance would be very appreciated. Thank you.</p>