fix error when access_token not in session