Update gitignore to ignore files under gen
Use customed exception to indicate login failure
Colorize failure