updated index page once logged in