Make API available to non authenticated users again.
fix broken sql statement
Add some initial migrations
Merge pull request #1061 from gannetson/feature/fixes

Feature/fixes