added some session management, user can now pause a quiz