Creating a command to migrate pre-existing users

For thousands of users this might not be the best solution.
Stress tests might be needed.