more work on session management. Now includes localStorage