implemented adding and deleting of notifications