+added session storage to aid url variable