register, login, and survey now working with new approach