Added all CRUD methods for Device model