Merge pull request #6 from LocalData/accounts

Fix preview bug and issue where surveys could be created a couple times by accident
hide non-functional surveys