 
 class AccountViewController: UITableViewController, UITableViewDelegate {
     
-    var cell: UITableViewCell = UITableViewCell()
+    var userCell: UITableViewCell = UITableViewCell(style: UITableViewCellStyle.Default, reuseIdentifier: "userCell")
+    var logOutCell: UITableViewCell = UITableViewCell(style: UITableViewCellStyle.Default, reuseIdentifier: "logOutCell")
+    
+    var logOut = UIButton.buttonWithType(UIButtonType.System) as UIButton
     
     override func viewDidLoad() {
         super.viewDidLoad()
         
+        self.title = "Your Account"
+        // construct first name cell, section 0, row 0
+//        self.buySpotCell.backgroundColor = UIColor(red: 1.0, green: 1.0, blue: 1.0, alpha: 0.5)
+//        self.firstNameText = UITextField(frame: CGRectInset(self.buySpotCell.contentView.bounds, 15, 0))
+//        self.firstNameText.placeholder = "First Name"
+//        self.buySpotCell.addSubview(self.firstNameText)
+        
+        logOut.frame = CGRectInset(self.logOutCell.contentView.bounds, 15 ,0)
+        logOut.contentHorizontalAlignment = UIControlContentHorizontalAlignment.Left
+        logOut.backgroundColor = UIColor(red: 1.0, green: 1.0, blue: 1.0, alpha: 0.5)
+        logOut.setTitle("Log Out", forState: UIControlState.Normal)
+        logOut.addTarget(self, action: "logOut:", forControlEvents: UIControlEvents.TouchUpInside)
+        self.logOutCell.addSubview(logOut)
        
         
         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: return self.buySpotCell   // section 0, row 0 is the first name
//                case 1: return self.sellSpotCell    // section 0, row 1 is the last name
//                case 2: return self.viewAccountCell
//                default: fatalError("Unknown row in section 0")
//                }
//            case 1:
//                switch(indexPath.row) {
//                case 0: return self.shareCell       // section 1, row 0 is the share option
//                default: fatalError("Unknown row in section 1")
//                }
//            default: fatalError("Unknown section")
//            }
    
    // Configure the cell...
    
    return cell
    }

    
    /*

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