Session.setDefault works if some of it is in a separate function? enh?