                     print("AT.ME:: Error uploading display picture to Firebase \(error.localizedDescription)")
                     return
                 }
+                
+                self.userInformationRef.child("\(uid)/displayPicture").setValue(path)
             }
         }
         

                        print("AT.ME:: Error uploading display picture to Firebase \(error.localizedDescription)")
                        return
                    }
                }
                
            })


class SettingsViewController: UITableViewController, AlertController {
    
    lazy var userInformationRef: FIRDatabaseReference =
        FIRDatabase.database().reference().child("userInformation")
    lazy var userDisplayPictureRef: FIRStorageReference =
        FIRStorage.storage().reference().child("displayPictures")
