Added cookies to enable survey to be taken once + bug fixes

bug fixes:
Authenticated users that have not created the survey can also take the
survey