errors line 79, 90, 113, and 14

79. removed curly brace
90. removed curly brace
113. corrected spelling for validate
14. added a === to compare string