     
     @IBOutlet weak var saveNewContact: UIButton!
     
+    // Firebase
+    var ref: FIRDatabaseReference!
+    private var _refHandle: FIRDatabaseHandle!
     
     override func viewDidLoad() {
         super.viewDidLoad()

                email: self.newEmail.text!,
                trackID: self.newTrackID.text!,
                photo: imageData)
            self.navigationController?.popToRootViewControllerAnimated(true)
        }
    }

        
        imagePicker.delegate = self
        
        ref = FIRDatabase.database().reference()
        
        NSNotificationCenter.defaultCenter().addObserver(self, selector: #selector(keyboardWillShow), name: UIKeyboardWillShowNotification, object: nil)
        NSNotificationCenter.defaultCenter().addObserver(self, selector: #selector(keyboardWillHide), name: UIKeyboardWillHideNotification, object: nil)
    }
    
    func keyboardWillShow(notification: NSNotification) {
