Added an alert to failed login. Fixes #32.