Tony update sending function for Usercontroller.php