private com.authy.api.User userFromXml(int status, String content) {
		com.authy.api.User user = new com.authy.api.User();
		
		try {
			Error error = errorFromXml(status, content);
			
			if(error == null) {
				JAXBContext context = JAXBContext.newInstance(Hash.class);
				Unmarshaller unmarshaller = context.createUnmarshaller();
				
				StringReader xml = new StringReader(content);
				Hash hash = (Hash)unmarshaller.unmarshal(new StreamSource(xml));
				user = hash.getUser();
			}
			user.setError(error);
		}
		catch(JAXBException e) {
			e.printStackTrace();
		}
		return user;
	}