Added login fail redirect and tried to gitignore modules