Added a step to get the data and then store it in the mongoDB database