private User getUser(Entity e){
		//Fields to store in User object to return
		String name = (String)e.getProperty("firstName") + " " + e.getProperty("lastName");
		String skillSet = (String)e.getProperty("skillSet");
		String workExperience = (String)e.getProperty("workExperience");
		String education = (String)e.getProperty("education");
		String aboutMe = (String)e.getProperty("aboutMe");
		String hobbies = (String)e.getProperty("hobbies");
		String interests = (String)e.getProperty("interests");
		Long numFriends = (Long)e.getProperty("numFriends");
//		System.out.println("ProfileServlet.java: numFriends=" + numFriends + " and numFriends=" + numFriends.intValue());
		EmbeddedEntity m = (EmbeddedEntity)e.getProperty("friends");
		ArrayList<String> friends = new ArrayList<String>();
		try {
			//Get datastore service
			com.google.appengine.api.datastore.DatastoreService ds = DatastoreServiceFactory.getDatastoreService();
			//Build list of friends names
			for(Long i = 0L; i < numFriends; i++){
				Entity en = ds.get((Key)m.getProperty(String.valueOf(i)));
				String fullName = (String)en.getProperty("firstName") + " " + en.getProperty("lastName");
				friends.add(fullName);
			}
		} catch (EntityNotFoundException e1) {
			e1.printStackTrace();
		}
		return new User(name,skillSet,workExperience,education,aboutMe,hobbies,interests,numFriends.intValue(),friends);
	}