     }
     
     private func createTabBarCoordinator() -> TabBarCoordinator {
-        let tabBarCoordinator = TabBarCoordinator(session: self.session)
+        
+        let coordinatorParameters = TabBarCoordinatorParameters(userSessionsService: self.parameters.userSessionsService)
+        
+        let tabBarCoordinator = TabBarCoordinator(parameters: coordinatorParameters)
         tabBarCoordinator.delegate = self
         return tabBarCoordinator
     }


import Foundation

final class SplitViewCoordinator: NSObject, SplitViewCoordinatorType {
    
    // MARK: - Properties
    
    // MARK: Private
    
    private let rootRouter: RootRouterType
    private var session: MXSession?
    
    private let splitViewController: UISplitViewController
    

    weak var delegate: SplitViewCoordinatorDelegate?
    
    // MARK: - Setup
            
    init(parameters: SplitViewCoordinatorParameters) {
        self.parameters = parameters
        
        let splitViewController = RiotSplitViewController()
        splitViewController.preferredDisplayMode = .allVisible
