added loading spinner when fetching friends