updated Index page and fixed search bar