if(role != null)
user.setRole(role);
else
user.setRole(Role.USER);
Address address = new Address();
address.setStreetAddress(streetAddress);
address.setCity(city);
address.setState(state);
address.setPostalCode(postalCode);
if (country == null || country.trim().equalsIgnoreCase("")) {
address.setCountry(props.fUserCountry);
} else {
address.setCountry(country);
}
user.setAddress(address);
return user;
}