improved some methods and tests, change session storage back to cookie