logging 404s
handling authentication errors differently