Update session.js

delete unuse code.