private User readUserData(JsonReader reader) throws IOException {
		User currentUser = new User();
		reader.beginObject();
		while (reader.hasNext()) {
			String key = reader.nextName();
			if (key.equals("id")) {
				currentUser.setId(reader.nextInt());
			} else if (key.equals("name")) {
				currentUser.setName(reader.nextString());
			} else if (key.equals("password")) {
				currentUser.setPassword(reader.nextString());
			} else if (key.equals("email")) {
				currentUser.setEmail(reader.nextString());
			} else if (key.equals("public_key")) {
				currentUser.setPublicKey(reader.nextString());
			} else {
				reader.skipValue();
			}
		}
		reader.endObject();
		return currentUser;
	}