remove lodash.uniq
add some warnings
fixup export and authorized user management