updated user tables and retrival for the survey page