migrate models security and i18n