Question about Auto Login

Does anyone know how to do automatic login with firebase? I have already linked my app to firebase and have created the login page, however I do not know how to auto login so when a user already has an account they are automatically taken to the home view controller.

Hmm, are you saying you want your app to remember if a user has logged in and to keep them logged in when they close your app?

Yes, exactly! I followed the CWC tutorial on YouTube, Firebase Authentication 2020, and I am not sure where to go from there.

also I am trying to go to a tab bar controller after the login page and nothing I do works. It shows the bottom tab and nothing else