adding new resource for mongodb