pretty error pages, proper http error codes