added user config, closes #1