Added page refreshing