adding login and continue functionallity to the survey