replace global $currency scope with $_SESSION