Updated the email validation method for input form
Updated logic and added gitignore