fetchAccessToken
This function fetches new access token from the authentication server and then creates a new account if none exists; otherwise it updates the existing account.
This function fetches new access token from the authentication server and then creates a new account if none exists; otherwise it updates the existing account.