Update externallogin.php