added ability to store session storage and authentication