public function register()
    {
        $this->registerSessionManager();

        $this->registerSessionDriver();

        $this->app->singleton('Illuminate\Session\Middleware\StartSession', function ($app) {
            return new Middleware\StartSession($app->make('session'));
        });
    }