Port middleware/session.clj