implemented delete

implemented delete recorded from controller