add mark page as read functionality