adding session functionality
tested for 2 browsers and short timeouts