title: Add a new child in Firebase
body: <p>So my situation is a bit different to issues found online.</p>
  
  <p>I want the node <code>Societies</code> to be updated with a new child node <code>Foot19</code> when the button is pressed. The context is that it is a list of school groups that when the user presses on the button to 'follow' them, the ID to that group is added to their personal data section. </p>
  
  <p>So when they click <code>addFootballSoc</code> button <code>Foot19</code> is added as a new child node to their specific <code>Societies</code> node.</p>
  
  <p>The key values in the at the start of each <code>sUsers</code> node is equivalent to their <code>authentication uid</code> which is why I'm calling it using <code>firebase.auth()</code></p>
  
  <p><img src="https://i.stack.imgur.com/XGyZq.jpg" alt="Screenshot of the area in my database I want to update with a new child"></p>
  
  <pre><code>document.getElementById('addFootballSoc').onclick = function() {addFootball()};
  
  function addFootball(){
  var runUid = firebase.auth().currentUser.uid;
  var searchRef = firebase.database().ref('sUsers');
  var newSearchRef = searchRef.child(runUid); 
  var mm = newSearchRef.child('Societies')
  mm.child.set('Foot19'){}
  }
  </code></pre>
  
  <p>I want it to add a new child for each group they join so they can't overwrite  either, for example if I were to add a 'Arts' group button </p>
  
  <p>EDIT: </p>
  
  <p>changed the function so the onclick works and it does now write to where I want, 
  however, if I were to add another child node alongside <code>Foot19</code> it will delete <code>Foot19</code> and replace it, I would use <code>push</code> but I don't want to have the unique key added to my nodes. How can I change this to ensure more nodes can be added?</p>
  
  <pre><code>document.getElementById('addFootballSoc').onclick = function() {addFootball()};
  
  function addFootball(){
  var runUid = firebase.auth().currentUser.uid;
  var searchRef = firebase.database().ref('sUsers');
  var newSearchRef = searchRef.child(runUid); 
  var mm = newSearchRef.child('Societies')
  mm.child.set('Foot19'){}
  }
  </code></pre>