add connect style router for client side