clientside email validation - layout