Updating declaration of User::beforeSave() in Model User