handled error messaging on invalid login