Initial session middleware, pretty much useless & broken now...