Add error when username and password are invalid