Refactored ConnectionsViewController to use profileManager