finish repopulation and validation in index page