now reloads the page when reload is clicked