add user and group
Factorize "installed?"