Implemented $ajaxResopnse as an optional but  standard way to return a message to a user.