added error display for failed login