Improved Registation Files.

- Added email field
- Added input format validation
- Added confirm password field.