facebook method
render the avatar