How can I get username of a person who logged in to view a card?

like, when I am logged in it gives my name. when someone else is logged in that user's name is got.
basically to customize the report such that when a user opens the card, the data based on his/her name is displayed