improve URL management and refactor
fixed
renamed storage to store
updated session key