You can use Firebase Authentication to let your users sign in with their email addresses and passwords, and to manage your app's password-based accounts. Also
Read this post on kpblogs.com