Admin repository, mainWindow must be edited