Big problems resolved concerning URL management. Now relying entierly on session variables