[On #3 #5] handle login error in command line
[Fix #3 #5] handle login error in website