renamed create function in activities controller