Add recovery middleware
Add logger