Fix for bugs: - One listener in the web.xml was not loading because of dependency problems. - The spring security was not properly configured.