         return nil
     }
 
-    func providerNameWithIndexPath(indexPath: NSIndexPath) -> String? {
+    func providerNameWithIndex(index: Int) -> String? {
 
         var providerName: String?
 
         switch self {
 
         case .DiscoveredUserType(let discoveredUser):
-            if let provider = discoveredUser.socialAccountProviders.filter({ $0.enabled })[safe: indexPath.row] {
+            if let provider = discoveredUser.socialAccountProviders.filter({ $0.enabled })[safe: index] {
                 providerName = provider.name
             }
 
         case .UserType(let user):
 
             if user.friendState == UserFriendState.Me.rawValue {
-                if let provider = user.socialAccountProviders[safe: indexPath.row] {
+                if let provider = user.socialAccountProviders[safe: index] {
                     providerName = provider.name
                 }
 
             } else {
-                if let provider = user.socialAccountProviders.filter("enabled = true")[safe: indexPath.row] {
+                if let provider = user.socialAccountProviders.filter("enabled = true")[safe: index] {
                     providerName = provider.name
                 }
             }

            return needSeparationLine ? 1 : 0
            
        case ProfileSection.SocialAccount.rawValue:
            return profileUser?.providersCount ?? 0

        case ProfileSection.SeparationLine2.rawValue:
            return 1

        profileCollectionView.registerNib(UINib(nibName: footerCellIdentifier, bundle: nil), forCellWithReuseIdentifier: footerCellIdentifier)
        profileCollectionView.registerNib(UINib(nibName: separationLineCellIdentifier, bundle: nil), forCellWithReuseIdentifier: separationLineCellIdentifier)
        profileCollectionView.registerNib(UINib(nibName: socialAccountCellIdentifier, bundle: nil), forCellWithReuseIdentifier: socialAccountCellIdentifier)
        profileCollectionView.registerNib(UINib(nibName: socialAccountBlogCellIdentifier, bundle: nil), forCellWithReuseIdentifier: socialAccountBlogCellIdentifier)
        profileCollectionView.registerNib(UINib(nibName: socialAccountImagesCellIdentifier, bundle: nil), forCellWithReuseIdentifier: socialAccountImagesCellIdentifier)
        profileCollectionView.registerNib(UINib(nibName: socialAccountGithubCellIdentifier, bundle: nil), forCellWithReuseIdentifier: socialAccountGithubCellIdentifier)
        profileCollectionView.registerNib(UINib(nibName: feedsCellIdentifier, bundle: nil), forCellWithReuseIdentifier: feedsCellIdentifier)
