Adding pagination for notifications