title: firebase retrieve user data swift
body: <p>I am having a couple of issues with firebase right at the moment and was wondering if anyone out there could help me out. Currently I have an app with many users who save data that they type in. All of these being numbers. The database is saving how I want it to save. it save by a key and within the key has the UID the Month the Year and the number that they are saving.</p>
  
  <p>My Question is:
  How do I retrieve the Data so that it only pulls out what the user saved? How do I make the database check for only data saved by the current user and then allow that to be retreived. I have set this up in rules where the user has to be authenticated to both read and right. </p>
  
  <p>Can anyone point me in the right direction, I have read through all of the docs and tried a lot of there examples and I still can not figure it out. </p>
  
  <p>Thanks in advance for any help</p>