Creating single page React app using React Router Dom