added auto active tabs, client side validations
more validation work, fixed some bugs