Refactoring do emmiter e user