unify the method for viewing user's link and user's avatar