add route, index, and posts