Added user login with form validation and updated .gitignore