childResult.add(form.getElement());
childResult.addElement("instructions").addText("Enter Your LFS Username");
Element username_element = childResult.addElement("username");
if(registration != null) {
username_element.setText((String) registration.get("username"));
username.addValue(registration.get("username"));
}
} else if(iq.getType() == IQ.Type.set) {
String username = null;
DataForm form = (DataForm)iq.getExtension(DataForm.ELEMENT_NAME,DataForm.NAMESPACE);
if(form != null) {