fix questionnaire bug

Now when a new user logs in without the old logging out, the questionnaire is reset and works properly.