adding page refresh