This code was copy and pasted, and matches how other session functions work. In the session abstraction (which is the purpose of this ticket), the db is gone as remains in the session storage object, passed in by the construction of the session object.