Add User.prototype.markTopicAsRead.
Simplify ChatroomContentController.