added DI to ChatHub