fixed the missing settings.replica_set issue in user_management.py