adding the ability to emit an event when there is an heartbeat and adding a getter for the ascoltatore id