added length to email validation
formatted