adds online friends detection