created pages model and migration