registeruser xml & java changes