- Fix a fatal error in Handler
- Optimize the database requests made in the Handler and in some Actions