added alert and id for home