added email format validation
validated email format
fixed test (missing w with %)