added a destroy method to delete record from database
added a link to delete record