navigate user to their all surveys page upon creating a new survey

Sent the user id from the session back to the AJAX request sending data to create the new survey. Upon success, JS will reroute the user to his or her all-surveys page.