added custom error page; updated middleware to use it
bug tweak
Merge pull request #6 from appendto/custom-error-page

added custom error page; updated middleware to use it