Wrong way of creating db instance
Sanitize query strings
Better check of 404 not found
JSON driver added to template