Add activity logging