fixied query sql
fixied bug, change statesurvey to user
close descriptor file
finished feedback to user