Implement Middleware Stack
Implement Error Handling
update