got index page working