moved user save eventually outside of loop in getFriends