fixes #28 and implements skip logic system in session.js