I have some code that logs a user in and reveals a survey, which I want to run continuously. Every time I complete the login function, the page resets to the default state.