* Add exception for security errors.
* Start realisation of security filter.
* Implement SQL query for User.