add custom storage support with unique ids instead of cookies