Closes #10 -- Enabled logged of 404s to db