add notifyRegistration method to Socialize.php