Added mark all as read function