manage 404 500 errors
Merge pull request #37 from YanshuoH/yhuang/manage_404_500_errors

manage 404 500 errors