added delete and edit buttons.
Implemented delete button