Login Page for every user is the same, needs to store into a database the user's: unique id as a primary key, email as primary key, password, name, type(athlete, coach...), and permissions. When logging in, user can't set their own permissions but admin permission page will be able to change the permissions column of data. This is the video I watched to understand adding users to a database: https://www.youtube.com/watch?v=1nxzOrLWiic&list=PLzMcBGfZo4-n4vJJybUVV3Un_NFS5EOgX&index=8
Login Page for every user is the same, needs to store into a database the user's: unique id as a primary key, email as primary key, password, name, type(athlete, coach...), and permissions. When logging in, user can't set their own permissions but admin permission page will be able to change the permissions column of data. This is the video I watched to understand adding users to a database: https://www.youtube.com/watch?v=1nxzOrLWiic&list=PLzMcBGfZo4-n4vJJybUVV3Un_NFS5EOgX&index=8