Update message related components to use react router.