added email format validation
last minute fixes