added controller for deleting slot
refactor
merged