Completed the initial version of PubSub of UserActivity.