added users config, modified publish to provide profile.