delete device in home.js
delete device info