         
     }
     
-    func alert(alertTitle: String, alertMessage: String){
+    //update the Parse database, return true if it worked
+    func updateDatabase(columnName: String,rowData: String){
+        
+        let testObject = PFObject(className: "SI_Sign_in")
+        testObject[columnName] = rowData
+        testObject.saveInBackgroundWithBlock { (success: Bool, error: NSError?) -> Void in
+            print("it worked")
+        }
+        
+    }
+    
+    //Create an alert with a title, message, and dismiss button
+    func alert(alertTitle: String,alertMessage: String){
         
         let alertController = UIAlertController(title: alertTitle, message:
             alertMessage, preferredStyle: UIAlertControllerStyle.Alert)

//  Copyright © 2015 Samy Achour. All rights reserved.
//

import UIKit

class ViewController: UIViewController, UITableViewDelegate, UITableViewDataSource {

    var personInfo: String = ""
    var items = [String]()
    
    @IBOutlet var textField: UITextField!
    

        
    }
    
    //Loads the variables we need to remember
    func loadCoreVariables(){
        
        let defaults = NSUserDefaults.standardUserDefaults()
