replaced `session.reset` with `session.destroy` in helpers