prettify search results and link each to profile

also moved index to app.js instead of routing