+ "&username=" + auxName.replaceAll(" ", "") + "&email=" + email;
Client client = Client.create();
WebResource webResource = client.resource(link);
webResource.accept("application/xml");
String resp = webResource.post(String.class);
/*parsing the String to XML format and extract important fields*/
StringToXML(resp);
/* getting the session information to find out the current user*/