mongo DB with spark web framework