Cool stuff. I'd say raise an error though if the username/password tags are not found.