improved validation checks, cleared inputs on submits, added delete confirmation