adding flash notices & errors