[Self-hosted Mender 1.7] useradm failed to open mgo session for remote db

I have been using Mongo Atlas for awhile now but on rebuilding i cant seem to reconnect to mongo atlas, so running the command docker exec mender-useradm /usr/bin/useradm create-user --username=admin --password=xxxx fails ive tried running it with --debug but nothing shows any error but i know it can connect because it creates a new collection and sub collection migration_info. how can i debug this connection?

nevermind i have to run useradm --config=/etc/useradm/config.yml --username … and it worked