fixed issue where the my friends tabs was shown in the user profile when friends feature is disabled