Problem with UserEventListener

Hello, I’m new here and will be very thankful for any help.

I’m trying to user UserEventListener but it just won’t work

private UserEventListener mListener = new UserEventListener() {
        public void userCreated(User user, Map<String, Object> params) {
  "user added");
        }         public void userDeleting(User user, Map<String, Object> params) {
  "user deleted");
        }         public void userModified(User user, Map<String, Object> params) {
  "user modified");
    };     public void initializePlugin(PluginManager manager, File pluginDirectory) {
    }     public void destroyPlugin() {

Only userDeleting() triggers

Please, point me my mistakes