email validation added, displays data previously entered when errors are displayed