Add user check when updating survey

Modify the updating of the survey details to use the current user’s
details, to avoid the possibility of someone hacking it using POST
requests.