Use a middleware to log each requests
Handle HTTP errors (like when network is down) instead of crashing the app !