add alert when login fails