refactor and add in results index landing page