check for empty username/pw