title: how to clear the back stack on intent load
body: <p>I have a log in system in my app, and I would like to make it so that once the user logs into their account the back stack get's cleared, so they cannot see the log in activity, unless they click on the log out button in the main activity. How would I accomplish this?</p>
  
  <p>any help would be greatly appreciated. </p>