adding login error alert