Add API for marking posts read or unread