Added condition to remove profile link when signed out