creating activities upon user actions for post, like and comment