Activate a pop-up dialog if the user logs off and has received bonus tokens.
Otherwise he loses the tokens. Indicate that he should copy and save the tokens to be redeemed later in bonus points by the teacher.
Note that tokens are only stored if the user has registered and logged in with his account to the session in which he received tokens.