Added validation for all fields.
Working validation!