bugfix: show img tag when $User is not undef.