         //
         // Display user title
         //
+        
+        let userTitleLabel: UILabel = {
+            let label = UILabel()
+            label.textAlignment = .Center
+            label.font = UIFont.systemFontOfSize(12, weight: UIFontWeightRegular)
+            label.widthAnchor.constraintEqualToConstant(272.0).active = true
+            label.translatesAutoresizingMaskIntoConstraints = false
+            return label
+        }()
         
         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)
+//            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)
+//            profileTableHeader.addSubview(userTitleLabel)
             
         }
         

        let userTitleYOffset = 124
        let userBioYOffset = 160
        
//        let headerStackView = UIStackView()
//        
//        headerStackView.axis = .Vertical;
//        headerStackView.distribution = .EqualSpacing;
//        headerStackView.alignment = .Center;
//        headerStackView.spacing = 10;
        
//        headerView.addSubview(headerStackView)
//        
//        headerStackView.leadingAnchor.constraintEqualToAnchor(headerView.leadingAnchor).active = true
//        headerStackView.trailingAnchor.constraintEqualToAnchor(headerView.trailingAnchor).active = true
//        headerStackView.topAnchor.constraintEqualToAnchor(headerView.topAnchor).active = true
//        headerStackView.bottomAnchor.constraintEqualToAnchor(headerView.bottomAnchor).active = true
        
        let userImageView = UIImageView()
        
        userImageView.frame = CGRect(x: 0, y: 0, width: 64, height: 64)
        
//        userImageView.heightAnchor.constraintEqualToConstant(64.0).active = true
//        userImageView.widthAnchor.constraintEqualToConstant(64.0).active = true
        
        userImageView.center = CGPoint(x: 160, y: 48)
        
        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))
        }
        
//        self.imageViewUserProfileImage.kf_indicatorType = .Activity
//        self.imageViewUserProfileImage.kf_showIndicatorWhenLoading = true
        
        userImageView.kf_setImageWithURL(userProfileImageURL, placeholderImage: nil, optionsInfo: nil, progressBlock: nil, completionHandler: {
            (image, error, cacheType, imageUrl) in

            return
        }
        
        //
        // Default vertical offsets for header components
        //
