Changed getFavorites to use AppEngine