Added class for activities and user activities