title: How do I make my web app's main page look different depending on whether the user signed in
body: <p>I'm creating a full stack application using reactjs and spring boot. My main page has a login button, which when you click it takes you to the login page. (I'm using React Router.) Ideally, i would like that when someone logs in successfully, they are rerouted back to the main page- which now has additional features. (like saying "Hi (username)") I'm not sure how I would do this, please help!</p>