I am using AWS cognito for user authentication in the application that I designed. And where ever there is a need for user audit in the application, I have used the id from cognito as if it is a foreign key from another table(I am using a relational DB). Even though this works, this approach somehow feels improper. Is there any other proper way to design this?