How to create and manage notifications