extended login dialog to display error message if user typed wrong login credentials