Automatic sign-in not saving data to firebase

Hello!
I wanted to ask a question which is when the user opens my app and clicks the sign-in to navigate to another screen then everything works as expected and the data get saved to the cloud
but when I have my blocks like this ( if the email and password are known then sign in and navigate to the homepage) everything that the User does is not saved to the cloud but under the Null line
So the user has to click sign in everytime for everything to work
is there any fix to this?


Screenshot 2023-01-08 194952