Created a separate react component for users and a corresponding route.