1. A machine for dispensing beverages, in particular coffee, comprising: at least an infusion group for preparing coffee, a user interface, and an electronic programmable control unit; characterized in that said control unit is associated with a recognition system for recognizing a user, said control unit being programmed to actuate at least one function of the machine based upon the recognition of the user.