improved login connection failed error message