user is initialized with a name and attribut reader method