I have the `hypi id of Account` but need to create post

I have a schema for Post, which has a createdBy field that refers to User Table. But when I’m creating Post, at that time I have the hypi id of Account instance not user Instance because in auth-Token we get Account hypi id. Please help.

I face the same problem when creating 2 users for a friend because I have the Account Id, not User hypi id.

Get the user object and store it in indexdb or localstorage. When a user logs in, get the User object, and store it. From then on, use the object in local storage.