Config routes and view for /chat