adding component to index page