Some optimizations from neel, loading friends from server