#8 Validation of form implemented