added secret model and migration