improved response ajax logic, added infor messages