Added edit functionality
added delete confirmation