relogin after page reload