Refactoring security.
Fix position of close button for message window.
Refactoring of Spring security implementation.
Security updates.
Refactoring security.
Add defaultDomain property.