index page creating moved to migration