Add flash messages mechanism

- [x] resuse the service from mongo browser
- [x] intercept http errors and display an alert