Added warning message for wrong usr or pwd, not working yet, fix later.