added gitignore
better env handling
fixed login logic