update get error when username and password is empty