clean up repo
redirects query from main page to result page