fix: update user validation in events
Update the user validation method in both onUserSaveBegin
and onUserSaveEnd
events. The
previous validation was using QUI::getUsers()->isUser($User)
, which was replaced with a check for
$User
instance of QUI\\Users\\User
for improved reliability.