When creating a user, I need to be able to check if a username is already taken so I can notify the user.
Also, when the user enters their credentials, I need to find the user by username. So we definitely need functionality to search by username, but it might be a good time to think of implementing a generic find function in the db models. Though I can also see this being a lot of work, in which case we can just add search functions for specific fields as we need them
When creating a user, I need to be able to check if a username is already taken so I can notify the user.
Also, when the user enters their credentials, I need to find the user by username. So we definitely need functionality to search by username, but it might be a good time to think of implementing a generic find function in the db models. Though I can also see this being a lot of work, in which case we can just add search functions for specific fields as we need them