notification and seen functionality