You must setup firebase for user auth.
- Create a Firebase project
- Add the email/password authentification method
- Open this project in Android studio
- Open Menu/Tools/Firebase
- Click on 'Connect Your app to Firebase'
- Associate the proper Firebase project
- DONT'T ADD THE GOOGLE SERVICES JSON FILES TO GIT, IT CONTAINS CREDENTIALS