         let vc = UIStoryboard(name: "Profile", bundle: nil).instantiateViewControllerWithIdentifier("ProfileViewController") as! ProfileViewController
 
         let user = friends[indexPath.row]
-        let profileUser: ProfileUser = .UserType(user)
-        prepareProfileViewController(vc, withProfileUser: profileUser)
+        vc.prepare(withUser: user)
 
         recoverOriginalNavigationDelegate()
 

        case "showProfile":

            let vc = segue.destinationViewController as! ProfileViewController
            var profileUser: ProfileUser?
            if let user = sender as? User {
                if user.userID != YepUserDefaults.userID.value {
                    profileUser = .UserType(user)
                }
                
            } else if let discoveredUser = (sender as? Box<DiscoveredUser>)?.value {
                profileUser = .DiscoveredUserType(discoveredUser)
            }
            prepareProfileViewController(vc, withProfileUser: profileUser)

            recoverOriginalNavigationDelegate()
            

        default:
            break
        }
    }
}

