Ionic start with a login page then a regular page

I need to make it so that when you first download the app you need to login but once you’ve logged in the next time you open the app it brings you to the home screen instead of the login page

Have you tried googling maybe?

I haven’t found anything by googling. =(