login - change error display logic