added delete action to controller