added typeahead and index page