fixes #2 initializing session with values