setup client-side views, routes for chat