fixed importation error and changed styling for result page