Hound bugfix when running first fetch
Parameterized all DB queries for safety (long overdue).
DB methods for authentication checks