- added security to class
- Global error messages