fixes #2 initializing session with values
Merge pull request #3 from mdymel/master

issue #2 Problem with initialization with values