a layout for result page
added a ajax call