     
     override func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
         switch(section) {
-        case 0: return 3    // section 0 has 2 rows
-        case 1: return 1    // section 1 has 1 row
+        case 0: return 1
+        //case 1: return 1
         default: fatalError("Unknown number of sections")
         }
     }


class AccountViewController: UITableViewController, UITableViewDelegate {
    
    var cell: UITableViewCell = UITableViewCell()
    
    override func viewDidLoad() {
        super.viewDidLoad()
        
       
        
        let doubleTap = UITapGestureRecognizer(target: self, action: "doubleTap:")

    
    override func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> 
        UITableViewCell {
            
            switch(indexPath.section) {
            case 0:
                switch(indexPath.row) {
                case 0: //self.userCell.textLabel?.text = "Log Out"
                    return self.logOutCell   // section 0, row 0 is the first name
                case 1: return self.userCell    // section 0, row 1 is the last name
                case 2: return self.userCell
                default: fatalError("Unknown row in section 0")
                }
            case 1:
                switch(indexPath.row) {
                case 0: return self.userCell      // section 1, row 0 is the share option
                default: fatalError("Unknown row in section 1")
                }
            default: fatalError("Unknown section")
            }
    
    // Configure the cell...
 
    }
    
    func logOut(sender:UIButton!)
    {
        // Log Out User
        PFUser.logOut()
//        // Show the signup or login screen
//        var logInController = PFLogInViewController()
//        var signUpController = PFSignUpViewController()
//        
//        //let users sign up with email only
//        
//        
//        //        logInController.signUpController = signUpController
//        //
//        //        logInController.signUpController.delegate = self
//        logInController.delegate = self
//        //        logInController.fields = PFLogInFields.UsernameAndPassword | PFLogInFields.SignUpButton | PFLogInFields.LogInButton | PFLogInFields.PasswordForgotten
//        //
//        //        logInController.signUpController.fields = PFSignUpFields.UsernameAndPassword
//        //            | PFSignUpFields.SignUpButton
//        //            | PFSignUpFields.DismissButton
//        self.presentViewController(logInController, animated:true, completion: nil)
//        //self.presentViewController(signUpController, animated:true, completion: nil)
        
        
    
    }


    
    /*
