added cache with friends information - only look up friends information once for every request