add condition of user_id for activity