Reviewed and updated dependencies to the latest versions. Refactoring of the security configuration.