 
     override func viewDidLoad() {
         super.viewDidLoad()
+
+        if let socialAccount = socialAccount {
+            let accountImageView = UIImageView(image: UIImage(named: socialAccount.iconName)!)
+            accountImageView.tintColor = socialAccount.tintColor
+            navigationItem.titleView = accountImageView
+
+        } else {
+            title = "Instagram"
+        }
+
+        shareButton.enabled = false
+        navigationItem.rightBarButtonItem = shareButton
 
         instagramCollectionView.registerNib(UINib(nibName: instagramMediaCellIdentifier, bundle: nil), forCellWithReuseIdentifier: instagramMediaCellIdentifier)
 

        instagramCollectionView.reloadData()
    }

}

extension SocialWorkInstagramViewController: UICollectionViewDataSource, UICollectionViewDelegate {

    var socialAccount: SocialAccount?
    var profileUser: ProfileUser?


    lazy var shareButton: UIBarButtonItem = {
        let button = UIBarButtonItem(barButtonSystemItem: .Action, target: self, action: "share")
        return button
        }()

    @IBOutlet weak var instagramCollectionView: UICollectionView!

