add notifications and flash messages