added simple validation for the input text form