Feature/unregister device