There are multiple ways this can be done, here are 2:
- you can do this through MySQL and PHP and have the user create/login to accounts that you are hosting on your own MySQL database.
-you could use the google firebase plugin and have your data stored in a google firebase database.