Update Social.php

Add security