post for index page and updated erbs