added validation to forms #180 #179