add notification status for ajax responses, success and error.