fixed parenthesis bug: unexpected exit with failure
count the number of failed logins; torn the background red on failed login