added delete action, soimple validation