implement proper trl of 404 and 401 error pages
Merge pull request #123 from nsams/error-trl

implement proper trl of 404 and 401 error pages