add notification integrated with flash message