My use case is that I have to check if the user has a profile when logging in.
IF user has a profile -> Then i will skip the profile creation process.
ELSE -> Let the user create a profile.
I am making my backend as an API because i am using Angular as the front-end framework.
So my first question is if this would be the proper way to do it, or there is a smarter one?
Second is that I have tried using
but that returns the whole collection of Users with their profiles, rather than the single authenticated user.