made mongo db spring injected