Fixed page refresh and turned off autocomplete