Save data to mongodb through code

If it is just to create some user, I would use the seed file instead. Still I don’t see when You expect this code to run.