making full name in sidebar profile page conditional