command: use one function to retrieve the configured user