Added templates 404.html and 500.html for default handlers