implemented getting activities by user