Form Class with validation