email validation added correctly.