allow using mongodb uri for database settings