Commit API for user and activity