injects values in mongodb, however still need to figure out how to close my db connection when finished