add a controller to get a mongoId