Updated StudentResource to manipuate data with MongoDB