             userImageView.clipsToBounds = true
         })
         
-        //
-        // Center the user avatar horizontally in its container
-        //
-        
-//        userImageView.centerXAnchor.constraintEqualToAnchor(headerView.centerXAnchor)
-        
-//        userImageView.centerXAnchor.constraint(equalTo: headerView.centerXAnchor).isActive = true
-        
-        profileTableHeader.addSubview(userImageView)
+//        profileTableHeader.addSubview(userImageView)
+        
+        //
+        // User name label
+        //
+        
+        let userNameLabel: UILabel = {
+            let label = UILabel()
+            label.textAlignment = .Center
+            label.font = UIFont.systemFontOfSize(17, weight: UIFontWeightRegular)
+            label.widthAnchor.constraintEqualToConstant(272.0).active = true
+            label.translatesAutoresizingMaskIntoConstraints = false
+            return label
+        }()
         
         if self.userProfile!["properties"]["first_name"].string != "" && self.userProfile!["properties"]["last_name"].string != "" {
             
             // Display user's first and last name
             
-            let userNameLabel = UILabel(frame: CGRect(x: 0, y: 0, width: self.view.frame.width, height: 24))
-            
-            userNameLabel.center = CGPoint(x: 160, y: 100)
-            userNameLabel.textAlignment = .Center
-            userNameLabel.font = UIFont.systemFontOfSize(17, weight: UIFontWeightRegular)
+//            let userNameLabel = UILabel(frame: CGRect(x: 0, y: 0, width: self.view.frame.width, height: 24))
+//            
+//            userNameLabel.center = CGPoint(x: 160, y: 100)
+//            userNameLabel.textAlignment = .Center
+//            userNameLabel.font = UIFont.systemFontOfSize(17, weight: UIFontWeightRegular)
             
             userNameLabel.text = self.userProfile!["properties"]["first_name"].string! + " " + self.userProfile!["properties"]["last_name"].string!
             
-            profileTableHeader.addSubview(userNameLabel)
+//            profileTableHeader.addSubview(userNameLabel)
             
             print("Display User's Name \(userNameLabel.text)")
             

        //
        // Display user title
        //
        
        let userTitleString = retrieveUserTitle(self.userProfile)
        
        if userTitleString != "" &&
            userTitleString != "at" {
            
            let userTitleLabel = UILabel(frame: CGRect(x: 0, y: 0, width: 276, height: 24))

            userTitleLabel.center = CGPoint(x: 160, y: userTitleYOffset)
            userTitleLabel.textAlignment = .Center
            userTitleLabel.font = UIFont.systemFontOfSize(12, weight: UIFontWeightRegular)

            userTitleLabel.text = userTitleString

            profileTableHeader.addSubview(userTitleLabel)
            
        }
        

        let userTitleYOffset = 124
        let userBioYOffset = 160
        
        //
        // User image view
        //
        
        let userImageView: UIImageView = {
            let imageView = UIImageView()
//            imageView.center = CGPoint(x: 160, y: 48)
            imageView.frame = CGRect(x: 0, y: 0, width: 64, height: 64)
            imageView.heightAnchor.constraintEqualToConstant(64.0).active = true
            imageView.widthAnchor.constraintEqualToConstant(64.0).active = true
            imageView.translatesAutoresizingMaskIntoConstraints = false
            return imageView
        }()
        
        var userProfileImageURL: NSURL! = NSURL(string: "https://www.waterreporter.org/community/images/badget--MissingUser.png")
        
        if let thisUserProfileImageURLString = self.userProfile!["properties"]["picture"].string {
            userProfileImageURL = NSURL(string: String(thisUserProfileImageURLString))
        }
        
        userImageView.kf_setImageWithURL(userProfileImageURL, placeholderImage: nil, optionsInfo: nil, progressBlock: nil, completionHandler: {
            (image, error, cacheType, imageUrl) in
