modify SocialMembersController.php