Formatting index page and search form