implement invite friend for activity and group