added errors for incorrect username and password