Added react router to switch between 'pages'