Added restfulness to surveys (they're not working though) and debugged date problem by using default date method