Session get() fix

It threw "invalid index" errors because there was no checking whether the variable was actually set.