I provided an example of how to use context.user_id here:
user_id is an identifier (alphanumeric string). To get the user’s name you have to search for it in person using the user_id (the example shows how to do that).
However, that’s for an automation. I don’t know how to do the equivalent within a Lovelace card.