updated entities to have primary keys
Updated categoryTable to validateCategory and update Category
Changed fetch categories to where dataState !=3
updated entity compare to return proper rinse and new values
updated form index according to category Primary Key
included form id on main page.