I'm in need of some advice for creating a database model which holds data for multiple users. I will try to be as specific as possible. Please excuse me if this is too broad or inappropriate.
I'm creating a web application where users can sign up and add data about their sportsteams. After registration the user has to be able to add members to a table and add achievements to another table.
Right now i have 4 tables in all. members_table holds all members of a sportsteam. achievements_table holds all achievements. member_has_achievement holds the relation between a member and a achievement, and acts as the unique identifier.
And lastly i have a login_table.
This table has multiple columns:
loginid
username
password
email
My initial thought was to create a relation table between login_tableand the members_table. So that one user can have multiple members, and these members can have multiple achievements.
But I'm not sure this is the best way to do this. I build this model for a single user app, but I'm having trouble scaling it up.
Any advice for how I could model this differently?


member_has_achievementas long as you put the unique identifier in achievements_table (like an unique id for the achievement and the member has an unique id, so you can just insert this unique id in achievements_table).