changing end survey to use user id