index page completed for v2.0

code completed for v2.0