Create activity with entity

Wrapped createUserActivity with a function that takes in a user entity that creates the actor object for the activity.