Device manangement funcional, porem ainda com bugs