get activities based on role