repair merge - incorrect variables

Minor repair in the user profile view. Old variables were added by a late merge that caused problems when the guest tries to view the user profile.