Methods activities controller

Wrote activities controller methods