added page reloading