rebuilt login and register and update .gitignore