form error msgs
added product edit form and refactored