how to display the role's name with a logo above a MD2 role

I developed a little rpg game using some md2 models.

I want to display the role’s name and logo above it’s head.

how to implement this?a little example using a movable cube would be appreciate

thank you all