added routing for chat system.