changed form validation
created form class
added category form