oAuth redirection to the page will induce refresh function