I will fix your errors regarding the firebase. I have previously worked with a hospital for their portal which was using firebase at the backed for the services.
Hit me in the inbox.
I will fix your kotlin errors instead of java
I have more than a year of experience in Google Firebase
And I want to note that correcting errors is what gives programming a different taste