added EventEmitter to extend User class with emit, on and other events methods