corrected reloding page after autantication